mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
Combine lh*(-**).googleusercontent.com URL regex into one line.
Co-authored-by: Mike Fährmann <mike_faehrmann@web.de>
This commit is contained in:
parent
a6fed628dd
commit
6eb62f2140
@ -37,8 +37,7 @@ class BloggerExtractor(BaseExtractor):
|
||||
findall_image = re.compile(
|
||||
r'src="(https?://(?:'
|
||||
r'blogger\.googleusercontent\.com/img|'
|
||||
r'lh\d+\.googleusercontent\.com|'
|
||||
r'lh\d+-\w+\.googleusercontent\.com|'
|
||||
r'lh\d+(?:-\w+)?\.googleusercontent\.com|'
|
||||
r'\d+\.bp\.blogspot\.com)/[^"]+)').findall
|
||||
findall_video = re.compile(
|
||||
r'src="(https?://www\.blogger\.com/video\.g\?token=[^"]+)').findall
|
||||
|
Loading…
Reference in New Issue
Block a user