Compare commits
No commits in common. "49347f023014d0f3925274917d5d634c1e63e581" and "5680780256db7eb2be568b7d106507510085ac68" have entirely different histories.
49347f0230
...
5680780256
1 changed files with 1 additions and 2 deletions
|
@ -78,8 +78,7 @@ class GetYoutubeVideos:
|
||||||
|
|
||||||
def _change_proxy(self, video_id):
|
def _change_proxy(self, video_id):
|
||||||
if len(self.config['proxy']) > 0:
|
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:
|
if self.proxy_index<len(self.config['proxy'])-1:
|
||||||
self.selected_proxy = self.config['proxy'][self.proxy_index]
|
self.selected_proxy = self.config['proxy'][self.proxy_index]
|
||||||
self.proxy_index += 1
|
self.proxy_index += 1
|
||||||
|
|
Loading…
Reference in a new issue