MatthewChatham / glassdoor-review-scraper

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

New error #22

Open syang19 opened 5 years ago

syang19 commented 5 years ago

Dear Matthew,

Thank you very much for sharing. It is very helpful and quite easy to install.

I tried to run the sample code 1 that you provided but it gives me the following errors.

I ran with the command prompt and I am using Python 37. What do you think is causing the problem?

File "main.py", line 89, in d = json.loads(f.read()) File "C:\Users\shuoy\Anaconda3\lib\json__init__.py", line 348, in loads return _default_decoder.decode(s) File "C:\Users\shuoy\Anaconda3\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\shuoy\Anaconda3\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)

Looking forward to your reply.

Thanks, Shuo