The following code (which used to work) is supposed to print the contents of this page.
from selenium import webdriver
driver = webdriver.PhantomJS()
link = u'http://ift.tt/2xXAy3i'
driver.get(link)
print driver.page_source
However, all it prints is:
<html><head></head><body></body></html>
Does this mean that Google Scholar now blocks selenium or something else that I am missing?
Aucun commentaire:
Enregistrer un commentaire