Skip to content

Commit 109889d

Browse files
author
Flood Sung
authored
Merge pull request floodsung#43 from lucasmoura/fix_book_download
Fix deep learning book download
2 parents cee41bd + 76e82ed commit 109889d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

download.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ def clean_pdf_link(link):
2323
link = link.replace('abs', 'pdf')
2424
if not(link.endswith('.pdf')):
2525
link = '.'.join((link, 'pdf'))
26-
if 'github' in link:
27-
link = '.'.join((link, 'html'))
2826
return link
2927

3028
def clean_text(text, replacements = {' ': '_', '/': '_', '.': '', '"': ''}):

0 commit comments

Comments
 (0)