REMitchell / python-scraping

Code samples from the book Web Scraping with Python http://shop.oreilly.com/product/0636920034391.do
4.38k stars 2.47k forks source link

Change all instances of h1::text to h1 span::text when scraping Wiki's article page titles #112

Open ACPK opened 1 year ago

ACPK commented 1 year ago

TODO: Change all instances ofh1::text to h1 span::text when scraping Wiki

This change reflects a change to Wikipedia's html structure.

Old Wikipedia page: <h1>Title</h1> Old Wikipedia page:: <h1><span>Title</span></h1>