python - How do I get the correct selector from flipkart review page for web scraping? -


the reviews in selector multiple classes "row _3wyu6i _3brc7l". when scraping, response not have above selector instead has "row _3wyu6i _1kvtzt" selector.and selector has empty list.actually classes values "_3brc7l" in flipkart page flipkart page converted classes values "_1kvtzt" in response through scraping. the list of elements when using xpath of parent class. how should resolve issue?

the flipkart page generates dynamic content through ajax requests.that reason not correct class selectors. now, changed code per instructions of following answer: to retrieve data through ajax requests. helpful , simple me new scraping , need not use scrapy or casperjs.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -