python-scraping
python-scraping copied to clipboard
Code samples from the book Web Scraping with Python http://shop.oreilly.com/product/0636920034391.do
There is no method named getNextExternalLink() defined in Chapter 3 getExternalLinks.py
hi,little sister, in chapter3,Collect all the list of ExternalLinks,The code in the book is wrong with the splitAddress function times: ``` 即将获取链接的URL是:/ --------------------------------------------------------------------------- ValueError Traceback (most recent call last) in...
First of all, I really enjoying working though all the examples in the book, however, on this specific chapter I am lost. You have a function isCommon but never use...
'' why I do not find in https://apps.twitter.com!
debian 7 >>> from selenium import webdriver >>> from selenium.webdriver.remote.webelement import WebElement >>> from selenium.webdriver import ActionChains >>> >>> driver = webdriver.PhantomJS(executable_path='./phantomjs') >>> driver.get('http://pythonscraping.com/pages/javascript/draggableDemo.html') >>> >>> print(driver.find_element_by_id("message").text) Prove you are...
driver.find_element_by_id("sitbReaderRightPageTurner").click() "Element is not currently visible and may not be manipulated"
Chapter5's code.
elem ==driver.find_element_by_tag_name('html') will just return True or False, but will never raise a StaleElementReferenceException. It will raise a StaleElementReferenceException when using elem to do something while it is not the...
In python3.5, I've tried commonly used parsers like "html.parser" and 'lxml', but neither worked. I mean when they are used, the command `wordObj.findAll("w:t")` always returns an empty list `[]`, whereas...
Thanks for writing this book. As a non-programmer it has been a fun project working through the various examples. I've run into a wall trying to run the mySQLBasic Example....