You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi please forgive my lack of knowledge, I am not very familiar with this kind of stuff.
I have been trying to scrape using this tool and keep getting the same error.
I must have tried 100 times and it stops at different points, I've gotten as high as 80% and as low as 1% completed.
If anyone could advise me it would be greatly appreciated thankyou.
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\site-packages\requests-2.28.1-py3.7.egg\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\json_init_.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\site-packages\yts_scraper-0.1.1-py3.7.egg\yts_scraper\main.py", line 153, in main
scraper.download()
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\site-packages\yts_scraper-0.1.1-py3.7.egg\yts_scraper\scraper.py", line 359, in download
self.__initialize_download()
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\site-packages\yts_scraper-0.1.1-py3.7.egg\yts_scraper\scraper.py", line 183, in __initialize_download
page_response = requests.get(url, timeout=5, verify=True, headers=headers).json()
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\site-packages\requests-2.28.1-py3.7.egg\requests\models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
EDIT: I cant remember if i was running the "-M" command at the time of the error above, however i also have a problem where it just finishes on a random percent of completion without any error messages. As stated above i know very little on the subject so apologies in advance if its some stupid little mistake lol. Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi please forgive my lack of knowledge, I am not very familiar with this kind of stuff.
I have been trying to scrape using this tool and keep getting the same error.
I must have tried 100 times and it stops at different points, I've gotten as high as 80% and as low as 1% completed.
If anyone could advise me it would be greatly appreciated thankyou.
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\site-packages\requests-2.28.1-py3.7.egg\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\json_init_.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\site-packages\yts_scraper-0.1.1-py3.7.egg\yts_scraper\main.py", line 153, in main
scraper.download()
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\site-packages\yts_scraper-0.1.1-py3.7.egg\yts_scraper\scraper.py", line 359, in download
self.__initialize_download()
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\site-packages\yts_scraper-0.1.1-py3.7.egg\yts_scraper\scraper.py", line 183, in __initialize_download
page_response = requests.get(url, timeout=5, verify=True, headers=headers).json()
File "C:\Users\Jordan\AppData\Local\Programs\Python\Python37\lib\site-packages\requests-2.28.1-py3.7.egg\requests\models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
EDIT: I cant remember if i was running the "-M" command at the time of the error above, however i also have a problem where it just finishes on a random percent of completion without any error messages. As stated above i know very little on the subject so apologies in advance if its some stupid little mistake lol. Thanks in advance.
The text was updated successfully, but these errors were encountered: