Skip to content

Commit

Permalink
add fileendings
Browse files Browse the repository at this point in the history
  • Loading branch information
sigvartmh committed May 25, 2017
1 parent 8f21144 commit df6d698
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions itl_scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def download_link(self, link, title):
filename = title
self.failure += 1
filename = slugify(filename)
filename = filename[::-1].replace('-','.',1)[::-1] #Carl fix
print("File created with name:",filename)
filename = os.path.join(os.path.abspath(os.path.curdir),filename)
print("File created with path:",filename)
Expand Down

0 comments on commit df6d698

Please sign in to comment.