From 5b9784ddbf7c9256f19617f306c31567ddc72bc7 Mon Sep 17 00:00:00 2001
From: tech234a <46801700+tech234a@users.noreply.github.com>
Date: Sat, 17 Oct 2020 01:57:06 -0400
Subject: [PATCH] youtube-util: Bug fix
---
youtube_channel.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/youtube_channel.py b/youtube_channel.py
index 842ea91..c5d2395 100644
--- a/youtube_channel.py
+++ b/youtube_channel.py
@@ -68,7 +68,7 @@ def process_channel(channelid: str):
shelfintp = mysession.get("https://www.youtube.com/"+str(item))
if not """
Sorry for the interruption. We have been receiving a large volume of requests from your network.
-
To continue with your YouTube experience, please fill out the form below.
""" in shelfintp.text and not shelfintp.status_code == 200:
+
To continue with your YouTube experience, please fill out the form below.
""" in shelfintp.text and shelfintp.status_code == 200:
break
else:
print("Non-200 status code, waiting 30 seconds before retrying...")
@@ -113,7 +113,7 @@ def process_channel(channelid: str):
shelfintc = mysession.get("https://www.youtube.com/"+str(item))
if not """
Sorry for the interruption. We have been receiving a large volume of requests from your network.
-
To continue with your YouTube experience, please fill out the form below.
""" in shelfintc.text and not shelfintc.status_code == 200:
+
To continue with your YouTube experience, please fill out the form below.
""" in shelfintc.text and shelfintc.status_code == 200:
break
else:
print("Non-200 status code, waiting 30 seconds before retrying...")