Skip to content

Instantly share code, notes, and snippets.

@alirezamika
Created September 16, 2020 13:45
Show Gist options
  • Select an option

  • Save alirezamika/b148aa12e62dd7bfc1bee14cb6cfb4f7 to your computer and use it in GitHub Desktop.

Select an option

Save alirezamika/b148aa12e62dd7bfc1bee14cb6cfb4f7 to your computer and use it in GitHub Desktop.

Revisions

  1. alirezamika created this gist Sep 16, 2020.
    8 changes: 8 additions & 0 deletions tutorials-api-server-0.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    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)