Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

its gives an error when i try to download the reel #170

Open
pdxpro0098 opened this issue Feb 17, 2023 · 1 comment
Open

its gives an error when i try to download the reel #170

pdxpro0098 opened this issue Feb 17, 2023 · 1 comment

Comments

@pdxpro0098
Copy link

Traceback (most recent call last):
File "c:\Users\Intel\Desktop\PROGRAMING PROJECT\python_files\INSTAdownloader.py", line 17, in
google_reel.scrape(headers=headers)
File "C:\Users\Intel\AppData\Local\Programs\Python\Python311\Lib\site-packages\instascrape\scrapers\post.py", line 73, in scrape
return_instance = super().scrape(
^^^^^^^^^^^^^^^
File "C:\Users\Intel\AppData\Local\Programs\Python\Python311\Lib\site-packages\instascrape\core_static_scraper.py", line 144, in scrape
return_data = self._get_json_from_source(self.source, headers=headers, session=session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intel\AppData\Local\Programs\Python\Python311\Lib\site-packages\instascrape\core_static_scraper.py", line 260, in get_json_from_source
json_dict_arr = json_from_soup(soup)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intel\AppData\Local\Programs\Python\Python311\Lib\site-packages\instascrape\scrapers\scrape_tools.py", line 94, in json_from_soup
json_data = [json.loads(json_str) for json_str in json_data]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intel\AppData\Local\Programs\Python\Python311\Lib\site-packages\instascrape\scrapers\scrape_tools.py", line 94, in
json_data = [json.loads(json_str) for json_str in json_data]
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intel\AppData\Local\Programs\Python\Python311\Lib\json_init
.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intel\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intel\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

@king-of-Jupiter
Copy link

same error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants