Skip to content
Advertisement

How to scrape Trusted Shops?

I would appreciate your help on this scraping problem.

I would like to scrape this site: https://www.trustedshops.de/bewertung/info_XDAD39B874C275A0751198C2510C3C670.html

Although my code does not give me an error message, I do not see any output. I believe the problem is the bs.find_all statement; basically, I have problems telling the code how to index the user reviews.

JavaScript

What is the correct class for the Trusted Shops website that I need for the bs.find_all statement?

Thank you lots!!

Advertisement

Answer

The reviews of the url aren’t dynamic but you have to select the locator in proper way.It’s working.

JavaScript

Output:

JavaScript
Advertisement