diff options
-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() |