File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
vestiairecollective-scraper Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,11 @@ def validate_or_fail(item, validator):
9696@pytest .mark .asyncio
9797@pytest .mark .flaky (reruns = 3 , reruns_delay = 30 )
9898async def test_product_scraping ():
99- search_data = await vestiairecollective .scrape_search (
100- url = "https://www.vestiairecollective.com/search/?q=louis+vuitton" , max_pages = 1
101- )
102- product_urls = ["https://vestiairecollective.com/" + item ["link" ] for item in search_data ][:3 ]
99+ product_urls = [
100+ "https://us.vestiairecollective.com/men-accessories/watches/patek-philippe/gold-yellow-gold-patek-philippe-watch-51820408.shtml" ,
101+ "https://us.vestiairecollective.com/men-accessories/watches/patek-philippe/gold-gold-perpetual-calendar-patek-philippe-watch-55732655.shtml" ,
102+ "https://us.vestiairecollective.com/men-accessories/watches/patek-philippe/gold-yellow-gold-patek-philippe-watch-51820408.shtml" ,
103+ ]
103104 products_data = await vestiairecollective .scrape_products (
104105 urls = product_urls
105106 )
You can’t perform that action at this time.
0 commit comments