mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
fix lazy extractors
This commit is contained in:
parent
daa4364a8f
commit
7fbc17c643
2 changed files with 2 additions and 2 deletions
|
@ -2331,7 +2331,7 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor):
|
|||
def suitable(cls, url):
|
||||
if YoutubeTabIE.suitable(url):
|
||||
return False
|
||||
from ...utils import parse_qs
|
||||
from yt_dlp.utils import parse_qs
|
||||
qs = parse_qs(url)
|
||||
if qs.get('v', [None])[0]:
|
||||
return False
|
||||
|
|
|
@ -1762,7 +1762,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
|
||||
@classmethod
|
||||
def suitable(cls, url):
|
||||
from ...utils import parse_qs
|
||||
from yt_dlp.utils import parse_qs
|
||||
|
||||
qs = parse_qs(url)
|
||||
if qs.get('list', [None])[0]:
|
||||
|
|
Loading…
Reference in a new issue