Skip to content

Commit 87ba790

Browse files
Update BookShelfScrape v1.1
1 parent 0af6a34 commit 87ba790

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

BookShelfScrape v1.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ with requests.Session() as s:
6969
readingFile = open('%s.html' % title, 'wb')
7070
for figure in figures:
7171
for image_tag in figure.findAll('img'):
72-
image_tag['src'] = 'https://jigsaw.vitalsource.com/books/' + str(book['isbn']) + '/epub/OEBPS/' + image_tag['src']
72+
image_tag['src'] = 'https://jigsaw.vitalsource.com/books/' + str(book['isbn']) + '/epub' + image_tag['src']
7373
readingFile.write(figure.encode('UTF-8'))
7474
readingFile.close()
7575
else:

0 commit comments

Comments
 (0)