Skip to content

Commit

Permalink
Combine lh*(-**).googleusercontent.com URL regex into one line.
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Fährmann <[email protected]>
  • Loading branch information
Wiiplay123 and mikf authored Jan 20, 2024
1 parent a6fed62 commit 6eb62f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gallery_dl/extractor/blogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def items(self):
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
Expand Down

0 comments on commit 6eb62f2

Please sign in to comment.