1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

Slight improvment on Regex for Playlist Detection

This commit is contained in:
Thomas Christlieb 2017-02-03 16:30:02 +01:00
parent 8d58ebe4dc
commit ee32d5ae0f

View File

@ -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