Skip to content

Commit

Permalink
Add line break option. (dixudx#15)
Browse files Browse the repository at this point in the history
* [kyeolee89] : Add line break option.
  • Loading branch information
kyeolee89 authored and dixudx committed Dec 16, 2016
1 parent 8934084 commit a8399c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tumblr-photo-video-ripper.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _handle_medium_url(self, medium_type, post):
return hd_match.group(2).replace('\\', '')
except IndexError:
pass
pattern = re.compile(r'.*src="(\S*)" ')
pattern = re.compile(r'.*src="(\S*)" ', re.DOTALL)
match = pattern.match(video_player)
if match is not None:
try:
Expand Down

0 comments on commit a8399c9

Please sign in to comment.