[cleanup] misc

This commit is contained in:
pukkandan
2021-10-23 02:07:20 +05:30
parent 457f6d6866
commit 49a57e70a9
17 changed files with 104 additions and 69 deletions

View File

@@ -4304,9 +4304,7 @@ class YoutubePlaylistIE(InfoExtractor):
def suitable(cls, url):
if YoutubeTabIE.suitable(url):
return False
# Hack for lazy extractors until more generic solution is implemented
# (see #28780)
from .youtube import parse_qs
from ..utils import parse_qs
qs = parse_qs(url)
if qs.get('v', [None])[0]:
return False