mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-12 21:32:14 +08:00
[buzzfeed] improve regex
This commit is contained in:
parent
93cf8bde94
commit
10bf7493c8
@ -80,7 +80,7 @@ class BuzzFeedIE(InfoExtractor):
|
||||
self.url_result(match[2])
|
||||
for match in re.findall(
|
||||
r'''(?s)<a\s+class\s*=\s*(?P<q>["'])js-placeholder-link'''
|
||||
r'''(?P=q)\s+href\s*=\s*(?P<r>["'])(.*?)(?P=r)''', webpage)
|
||||
r'''(?P=q)\s+href\s*=\s*(?P<r>["'])(.+?)(?P=r)''', webpage)
|
||||
]
|
||||
|
||||
all_buckets = re.findall(
|
||||
|
Loading…
x
Reference in New Issue
Block a user