python-scraping icon indicating copy to clipboard operation
python-scraping copied to clipboard

Code samples from the book Web Scraping with Python http://shop.oreilly.com/product/0636920034391.do

Results 87 python-scraping issues
Sort by recently updated
recently updated
newest added

Deprecation removals Compatibility shims for pre-1.0 Scrapy module names are removed (issue 3318): scrapy.contrib (with all submodules) scrapy.contrib_exp (with all submodules)

the 'allow' argument of LinkExtractor is supposed to be an absolute link not a relative one.

from urllib.request import urlopen from bs4 import BeautifulSoup html=urlopen("http://www.pythonscraping.com/pages/warandpeace.html") bs=BeautifulSoup(html,"html.parser") nameList = bs.find_all(text='the prince') print(len(nameList)) I run the code above and the result is 7. However, when I use 'ctrl+F'...

python --version: 3.7.0 chapter5/2-createCsv.py ![pythonerror](https://user-images.githubusercontent.com/20898793/50276861-f89d6b00-047d-11e9-9d42-28f4152c72be.png) Hello, I write the code according to the content on github, and even copy and paste the code directly afterwards, so that I can control...