Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit 65e2516

Browse files
author
Kevin Meredith
committed
Fix page image download for MangaReader.
1 parent ca436d1 commit 65e2516

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

comic_scraper/extractors/mangareader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ def download_page(self, page):
110110
while True:
111111
r = requests.get(page_url, verify=self.verify_https)
112112
soup = bsoup.BeautifulSoup(r.text, 'html.parser')
113-
for div in soup.find_all('div'):
114-
if div.get('class'):
115-
if div.get('class')[0] == 'page':
113+
for div in soup.find_all('div', {'id':'imgholder'}):
114+
if div.get('id'):
115+
print(div)
116116
img = div.find_all('img')
117117
break
118118

0 commit comments

Comments
 (0)