Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Unable to get the JSON data in the website

by tangent (Vicar)
on May 10, 2016 at 16:55 UTC ( #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? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2022-05-18 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?