Merge pull request #225 from internetarchive/wt-376-yt-user-page-fix

Added new extractor type to brozzler's youtube-dl playlist handling
This commit is contained in:
Barbara Miller 2021-06-08 14:43:42 -07:00 committed by GitHub
commit 4f301f4e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ def _build_youtube_dl(worker, destdir, site):
if ie_result.get('_type') == 'playlist':
self.logger.info(
'extractor %r found playlist in %s', ie.IE_NAME, url)
if ie.IE_NAME in {'youtube:playlist', 'soundcloud:user', 'instagram:user'}:
if ie.IE_NAME in {'youtube:playlist', 'youtube:tab', 'soundcloud:user', 'instagram:user'}:
# At this point ie_result['entries'] is an iterator that
# will fetch more metadata from youtube to list all the
# videos. We unroll that iterator here partly because