Compare commits

..

No commits in common. "49347f023014d0f3925274917d5d634c1e63e581" and "5680780256db7eb2be568b7d106507510085ac68" have entirely different histories.

View file

@ -78,8 +78,7 @@ class GetYoutubeVideos:
def _change_proxy(self, video_id):
if len(self.config['proxy']) > 0:
if isinstance(self.config['proxy'], list):
self.config['proxy'].pop(self.proxy_index)
self.config['proxy'].pop(self.proxy_index)
if self.proxy_index<len(self.config['proxy'])-1:
self.selected_proxy = self.config['proxy'][self.proxy_index]
self.proxy_index += 1