Scraping library to retrieve data from useful pages, such as Amazon wishlists
Project description
Scraping library to retrieve data from useful pages, such as Amazon wishlists
Usage
import scraper_factory
scraper_factory.scrape(<<URL>>)
Sample output:
[{
'id': 'I2WF7234C0ZXFV',
'title': 'AeroPress Coffee and Espresso Maker - Quickly Makes Delicious Coffee without Bitterness - 1 to 3 Cups Per Pressing',
'link': '/dp/B0047BIWSK/?coliid=I2WF7234C0ZXFV&colid=2DZOVHLU6U46&psc=1&ref_=lv_vv_lig_dp_it',
'img': 'https://images-na.ssl-images-amazon.com/images/I/71Ud9NwXRpL._SS135_.jpg'
}, {
'id': 'I20ASZC8L6WX2V',
'title': 'POP! Animation: Rick and Morty - Noob Noob 💛Limited Edition',
'link': '/dp/B07STXB2JT/?coliid=I20ASZC8L6WX2V&colid=2DZOVHLU6U46&psc=1&ref_=lv_vv_lig_dp_it',
'img': 'https://images-na.ssl-images-amazon.com/images/I/61Hde8rm2qL._SS135_.jpg'
}, {
'id': 'I1JVIE5MZQ8JVC',
'title': 'Logitech Easy‑Switch K811 Wireless Bluetooth Keyboard for Mac, iPad, iPhone, Apple TV',
'link': '/dp/B0099SMFP2/?coliid=I1JVIE5MZQ8JVC&colid=2DZOVHLU6U46&psc=0&ref_=lv_vv_lig_dp_it',
'img': 'https://images-na.ssl-images-amazon.com/images/I/81InlOFJ-LL._SS135_.jpg'
}, {
'id': 'I399YP2BTOB0IL',
'title': 'USB Type C to HDMI Digital AV Multiport Hub, USB-C (USB3.1) Adapter PD Charger for Nintendo Switch,Portable 4K HDMI Dock for Samsung Dex Station S10/9/8/Note8/9/Tab S4/S5,MacBook Pro/Air 2018,iPad Pro',
'link': '/dp/B07JK9DFKH/?coliid=I399YP2BTOB0IL&colid=2DZOVHLU6U46&psc=1&ref_=lv_vv_lig_dp_it',
'img': 'https://images-na.ssl-images-amazon.com/images/I/61mcv6tD1eL._SS135_.jpg'
}]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scraper-factory-0.1.0.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for scraper_factory-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6883cdfb68c35a474900c00a9ba5fb4fb805fe38bfe76e25a290b78c611ab8d |
|
MD5 | 9ad43171b35cc1f3307d985221ff8299 |
|
BLAKE2b-256 | d24b04accc941d7546a3c298ce86c8227e584fc1a85532b6053f41d5dfc8e918 |