requests blocked!

The most basic version of the Scholar Search React App will have a search field to search for journals, and then a filter field also. The search will query the server which will use to return results for the search query.

Querying the server will be done via Ajax requests, however the React library does not have any inbuilt Ajax/networking functionality since it is a ‘View’ library, so we will need to use another library for this.

The search can be accessed through the projects python script using os.system (‘ –options’). This os.system runs the command as if it were running through the shell, and so we can get the results in our python script.

So basically after running the scholar script a few times, it no longer seems to giving out results. I looked at the ‘Issues’ posts on the github page, and as I suspected it seems that google blocks the requests after a certain number. It must think the requests are coming from some kind of a robot or crawler so is blocking them. Apparently there is a captcha which comes up after several requests, which the cannot get through so returns empty results.

As such it does not seem like the best stable script to use, unfortunately. Perhaps will revert to building a YouTube based app using React.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s