From 8cec0b047fdc592548be589d8a968512f53dc4a2 Mon Sep 17 00:00:00 2001 From: tech234a <46801700+tech234a@users.noreply.github.com> Date: Wed, 23 Sep 2020 13:23:28 -0400 Subject: [PATCH] Use cookies on discovery to prevent captcha pages --- worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.py b/worker.py index 95b34d4..4b46c7d 100644 --- a/worker.py +++ b/worker.py @@ -129,7 +129,7 @@ def prrun(): print("Video ID:", str(item).strip()) while True: try: - info = getmetadata(str(item).strip()) + info = getmetadata(mysession, str(item).strip()) break except BaseException as e: print(e)