Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # Scrapely ``` pip install scrapely ``` ``` from scrapely import Scraper s = Scraper() train_url = 'http://example.webscraping.com/places/default/view/Afghanistan-1' s.train(train_url, {'name': 'Afghanistan', 'population': '29,121,286'}) test_url = 'http://example.webscraping.com/places/default/view/United-Kingdom-239' s.scrape(test_url) ``` open/scrapely.txt Last modified: 2024/10/05 06:15by 127.0.0.1