Skip to content

Commit 83e0a07

Browse files
update code for downloading the deeplearning book by ian goodfellow
1 parent 7b827e9 commit 83e0a07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

automation/dl_book.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@
2323

2424
pprint.pprint(links)
2525

26-
pdfkit.from_url(links, "DLBook.pdf")
26+
for link in links:
27+
link = link.split('/')
28+
pdfkit.from_url(link, link[len(link)-1].split('.')[0]+".pdf")

0 commit comments

Comments
 (0)