Skip to content

Commit

Permalink
Fix invalid video url (#71)
Browse files Browse the repository at this point in the history
Fix invalid video url
  • Loading branch information
TainakaDrums authored and dixudx committed Jul 24, 2018
1 parent 447b50d commit f4e75a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tumblr-photo-video-ripper.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def _download(self, medium_type, medium_url, target_folder):
medium_name])

medium_name += ".mp4"
medium_url = 'https://vt.tumblr.com/' + medium_name

file_path = os.path.join(target_folder, medium_name)
if not os.path.isfile(file_path):
Expand Down

0 comments on commit f4e75a7

Please sign in to comment.