CA
Crawlee & Apify•2y ago
correct-apricot

How to export size?

Url: https://www.fuel.com.gr/el/catalogsearch/result/index/?q=Dunk Every shoes is under a li class And shoe size in div class = swatch-option-text Do you know how can I export the value using requests?
No description
1 Reply
!!!Joefree!!! 👑
Hey, you could use https://apify.com/apify/jsdom-scraper, but the web you trying to scrape is protected by CloudFlare, its not easy to bypass, goodluck! 😊 Eh. sorry you asking about python requests. You could fetch the web using requests, then extract the texts using re (regular expression). eg: re.findall(r'<div class="swatch-option text".+? data-option-label="(.+?)"', response.text)

Did you find this page helpful?