Skip to content

Commit df6d698

Browse files
committed
add fileendings
1 parent 8f21144 commit df6d698

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

itl_scrape.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def download_link(self, link, title):
140140
filename = title
141141
self.failure += 1
142142
filename = slugify(filename)
143+
filename = filename[::-1].replace('-','.',1)[::-1] #Carl fix
143144
print("File created with name:",filename)
144145
filename = os.path.join(os.path.abspath(os.path.curdir),filename)
145146
print("File created with path:",filename)

0 commit comments

Comments
 (0)