diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..c445cb1 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +worker: python3 main.py \ No newline at end of file diff --git a/main.py b/main.py index 51c2a1d..6b2683f 100644 --- a/main.py +++ b/main.py @@ -1,7 +1,7 @@ -import requests, threading +import requests, threading, os -url = input('raw link: ') -amount = input('enter the amount of threads (go for 300): ') +url = os.environ['URL'] +amount = os.environ['amount'] def thread(): sent = 0 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..663bd1f --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +requests \ No newline at end of file