chegg-scraper icon indicating copy to clipboard operation
chegg-scraper copied to clipboard

Error downloading

Open sk4t0z opened this issue 2 years ago • 0 comments

Traceback (most recent call last): File "C:\Users\tarek\OneDrive\Escritorio\chegg-scraper-main\Downloader.py", line 3, in Downloader.main() File "C:\Users\tarek\OneDrive\Escritorio\chegg-scraper-main\cheggscraper\Downloader.py", line 40, in main print(Chegg.url_to_html(args['url'], file_name_format=args['file_format'])) File "C:\Users\tarek\OneDrive\Escritorio\chegg-scraper-main\cheggscraper\CheggScraper.py", line 533, in url_to_html headers, heading, question_div, answers__ = self._parse( File "C:\Users\tarek\OneDrive\Escritorio\chegg-scraper-main\cheggscraper\CheggScraper.py", line 448, in _parse heading = self._parse_heading(soup) File "C:\Users\tarek\OneDrive\Escritorio\chegg-scraper-main\cheggscraper\CheggScraper.py", line 345, in _parse_heading heading = json.loads(heading_data)['query']['qnaSlug'] KeyError: 'qnaSlug'

sk4t0z avatar Aug 04 '22 19:08 sk4t0z