mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 02:45:12 +00:00
Support youtube videos of google+ users
This commit is contained in:
parent
8e241d1a1a
commit
26cf040827
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ def _real_extract(self, url):
|
|||
|
||||
# uploader_id
|
||||
video_uploader_id = None
|
||||
mobj = re.search(r'<link itemprop="url" href="http://www.youtube.com/user/([^"]+)">', video_webpage)
|
||||
mobj = re.search(r'<link itemprop="url" href="http://www.youtube.com/(?:user|channel)/([^"]+)">', video_webpage)
|
||||
if mobj is not None:
|
||||
video_uploader_id = mobj.group(1)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue