ThreeGiantNoobs / chegg-scraper

Download Chegg homework-help questions to self-sufficient HTML files
The Unlicense
71 stars 23 forks source link

Error downloading #40

Open sk4t0z opened 2 years ago

sk4t0z commented 2 years ago

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'