sm00v / Phonebook_CZ

A phonebook.cz scraper
9 stars 4 forks source link

ERROR #1

Open bytccoin opened 1 year ago

bytccoin commented 1 year ago

Traceback (most recent call last): File "/data/data/com.termux/files/home/Phonebook_CZ/phonebook.py", line 75, in emails = make_request(key) ^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/Phonebook_CZ/phonebook.py", line 29, in make_request key = json.loads(key)['id'] ^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/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)

sm00v commented 1 year ago

Traceback (most recent call last): File "/data/data/com.termux/files/home/Phonebook_CZ/phonebook.py", line 75, in emails = make_request(key) ^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/Phonebook_CZ/phonebook.py", line 29, in make_request key = json.loads(key)['id'] ^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/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)

Please go read my update in the readme. There is a new method to auth which you need to do before you can use this tool. LMK if you have anymore questions.

nuoframework commented 7 months ago

Hi, I have the same error. When I log in IntelligenceX, I guess this is the token I should put:

image

Then I put it in the code:

image

But it still does not work:

image