diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-03-16 03:00:25 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-03-16 03:00:25 +0300 |
commit | 2dd41e65a3ef9bf2f0060aa58b1e0f672ab440d7 (patch) | |
tree | 73eceb8f15b2c9214408268e733aa8b32f4eccd1 | |
parent | dcfb3b8a3f629b77d0cfe80e931752462d8175d8 (diff) |
make scripts executable
-rw-r--r-- | requirements.txt | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | telegram_notify.py | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | to_csv.py | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/requirements.txt b/requirements.txt index 2ba644c..baac057 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ requests~=2.25.1 textract~=1.6.3 beautifulsoup4~=4.8.0 -ch1p~=0.0.3 +ch1p~=0.0.4
\ No newline at end of file diff --git a/telegram_notify.py b/telegram_notify.py index d825ea5..9876740 100644..100755 --- a/telegram_notify.py +++ b/telegram_notify.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import traceback from mgs import MGSPiracy from argparse import ArgumentParser @@ -52,4 +53,4 @@ if __name__ == '__main__': telegram_notify(text=escape(text), parse_mode='HTML', token=args.token, chat_id=args.chat_id) except: - telegram_notify(text='error: '+escape(traceback.format_exc()), parse_mode='HTML', token=args.token, chat_id=args.chat_id)
\ No newline at end of file + telegram_notify(text='error: '+escape(traceback.format_exc()), parse_mode='HTML', token=args.token, chat_id=args.chat_id) diff --git a/to_csv.py b/to_csv.py index f742cc2..e08bc24 100644..100755 --- a/to_csv.py +++ b/to_csv.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import csv from mgs import MGSPiracy from argparse import ArgumentParser @@ -27,4 +28,4 @@ if __name__ == '__main__': case['doc_link'], case['violation_links'])) - f.close()
\ No newline at end of file + f.close() |