Skip to content

Instantly share code, notes, and snippets.

@alirezamika
Created September 16, 2020 13:45
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save alirezamika/b148aa12e62dd7bfc1bee14cb6cfb4f7 to your computer and use it in GitHub Desktop.
from autoscraper import AutoScraper
url = 'https://www.ebay.com/sch/i.html?_nkw=iphone'
wanted_list = ['Apple iPhone X 64GB Factory Unlocked Smartphone', '$389.99', 'https://www.ebay.com/itm/Apple-iPhone-X-64GB-Factory-Unlocked-Smartphone/254187579586?epid=238944741&hash=item3b2ec2a8c2:g:ZPQAAOSwD6VdpL~9']
scraper = AutoScraper()
result = scraper.build(url=url, wanted_list=wanted_list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment