Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Unable to get the JSON data in the website

by tangent (Parson)
on May 10, 2016 at 16:55 UTC ( [id://1162648]=note: print w/replies, xml ) Need Help??


in reply to Unable to get the JSON data in the website

When I try your script I get:
HTTP/1.1 403 Forbidden ... {"state":"error","message":"","data":null}
When I go to http://www.tianyancha.com/company/398459114 in my browser I am re-directed to http://antirobot.tianyancha.com/captcha/verify where I need to fill in a captcha.

So it looks like the page is designed to prevent you from doing what you want (hence the "antirobot" in the URL - not a relative :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1162648]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2024-04-24 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found