mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-28 13:11:49 +00:00
Slight improvement in Regex to check for playlist or page
This commit is contained in:
parent
88eeec3693
commit
8d58ebe4dc
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ class IqiyiIE(InfoExtractor):
|
|||
PAGE_SIZE = 50
|
||||
|
||||
links = re.findall(
|
||||
r'<a href="(http://www\.iqiyi\.com/.+\.html)"[^>]+?class="site-piclist_pic_link"[^>]+?>',
|
||||
r'<a[^>]+?href="(http://www\.iqiyi\.com/.+\.html)"[^>]+?class="site-piclist_pic_link"[^>]+?>',
|
||||
webpage)
|
||||
if not links:
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue