From 7652929cb0163c1dfe422d7d46f8adca0c5689e6 Mon Sep 17 00:00:00 2001 From: igna Date: Sun, 29 Aug 2021 15:08:23 +0000 Subject: [PATCH] uh --- Procfile | 1 + main.py | 6 +++--- requirements.txt | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 Procfile create mode 100644 requirements.txt 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