mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
[youtube] unescape html5player URLs for some videos
This commit is contained in:
parent
f1f2164e54
commit
7db225a581
@ -439,6 +439,7 @@ class YouTube(VideoExtractor):
|
|||||||
except:
|
except:
|
||||||
# VEVO
|
# VEVO
|
||||||
if not self.html5player: return
|
if not self.html5player: return
|
||||||
|
self.html5player = self.html5player.replace('\/', '/') # unescape URL (for age-restricted videos)
|
||||||
self.js = get_content(self.html5player)
|
self.js = get_content(self.html5player)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user