We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b827e9 commit 83e0a07Copy full SHA for 83e0a07
automation/dl_book.py
@@ -23,4 +23,6 @@
23
24
pprint.pprint(links)
25
26
-pdfkit.from_url(links, "DLBook.pdf")
+for link in links:
27
+ link = link.split('/')
28
+ pdfkit.from_url(link, link[len(link)-1].split('.')[0]+".pdf")
0 commit comments