1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 12:42:29 +01:00

merge #5091: [blogger] fix 'lh*-*.googleusercontent.com' URLs

This commit is contained in:
Mike Fährmann 2024-01-20 23:19:54 +01:00
commit b1561a21dc
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -37,7 +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'\d+\.bp\.blogspot\.com)/[^"]+)').findall
findall_video = re.compile(
r'src="(https?://www\.blogger\.com/video\.g\?token=[^"]+)').findall