Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloudflare_enum.py showing ValueError #4

Open
remonsec opened this issue Jul 14, 2020 · 2 comments
Open

cloudflare_enum.py showing ValueError #4

remonsec opened this issue Jul 14, 2020 · 2 comments

Comments

@remonsec
Copy link

Facing this error while running cloudflare_enum.py

Traceback (most recent call last):
  File "./cloudflare_enum.py", line 223, in <module>
    cloud.get_spreadsheet(sys.argv[2])
  File "./cloudflare_enum.py", line 125, in get_spreadsheet
    dns_data = self.get_domain_dns( domain )
  File "./cloudflare_enum.py", line 77, in get_domain_dns
    data = json.loads( r.text )
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

image

@0xbharath
Copy link
Contributor

0xbharath commented Jul 16, 2020

I suppose Cloudflare has changed their API. Cloudflare technique is not very practical anyway, it's just a fancy technique. I'll go ahead and remove it soon.

@haniamahrouse
Copy link

is there any solution

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

No branches or pull requests

3 participants