MatthewChatham / glassdoor-review-scraper

Scrape reviews from Glassdoor
BSD 2-Clause "Simplified" License
180 stars 252 forks source link

Default decoder decode error #61

Open ashiish23 opened 2 years ago

ashiish23 commented 2 years ago

File "C:\Users\ashii\main.py", line 88, in d = json.loads(f.read()) File "C:\Users\ashii\AppData\Local\Programs\Python\Python310\lib\json__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\ashii\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\ashii\AppData\Local\Programs\Python\Python310\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)

using below url -

python main.py --headless --url "https://www.glassdoor.com/Overview/Working-at-Stitch-Fix-EI_IE783817.11,21.htm" --username XXX@gmail.com --password XXX --limit 1000 -f glassdoor_reviews.csv