Tesco UK & Ireland Scraper avatar
Tesco UK & Ireland Scraper

Pricing

$2.50 / 1,000 products

Go to Store
Tesco UK & Ireland Scraper

Tesco UK & Ireland Scraper

Developed by

Radeance

Radeance

Maintained by Community

Extract product details like UPC / GTIN, price, competitor price, category, availability, promotions, nutrition, and images from Tesco UK at scale. Scrape by product or category listing URLs with auto-pagination. Export data as HTML Table, JSON, JSONL, CSV, Excel, XML, or RSS.

5.0 (2)

Pricing

$2.50 / 1,000 products

7

Total users

134

Monthly users

25

Runs succeeded

>99%

Last modified

14 days ago

ET

Returning an error when using Listing

Closed

elite_trail opened this issue
a year ago

Regardless of inputting a list of category URLs, or a single category URL - same error. Something about a string validation failing

ET

elite_trail

a year ago

2024-07-19T09:44:34.277Z ERROR Actor failed with an exception 2024-07-19T09:44:34.279Z Traceback (most recent call last): 2024-07-19T09:44:34.281Z File "/usr/src/app/src/main.py", line 113, in main 2024-07-19T09:44:34.283Z listing_collection = await listings_scraper.main( 2024-07-19T09:44:34.286Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-19T09:44:34.288Z File "/usr/src/app/src/scrapers/listings_scraper.py", line 428, in main 2024-07-19T09:44:34.290Z final_products = await parse_product_data(listing_products_collection) 2024-07-19T09:44:34.292Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-19T09:44:34.294Z File "/usr/src/app/src/scrapers/listings_scraper.py", line 296, in parse_product_data 2024-07-19T09:44:34.297Z product_model = ProductData(**product_raw) 2024-07-19T09:44:34.299Z ^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-19T09:44:34.301Z File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 176, in init 2024-07-19T09:44:34.304Z self.pydantic_validator.validate_python(data, self_instance=self) 2024-07-19T09:44:34.306Z pydantic_core._pydantic_core.ValidationError: 1 validation error for ProductData 2024-07-19T09:44:34.309Z product.seller 2024-07-19T09:44:34.311Z Input should be a valid string [type=string_type, input_value={'id': 'trn:tesco:seller:... Great ... [trimmed]

radeance avatar

Hey there, first of all thanks for reaching out & reporting this issue! It was a data validation error as we did not test the scraper for marketplace listings. We already updated the scraper to support these too.

Closing this issue as its solved.

Kind regards