![Smart Article Extractor avatar](https://images.apifyusercontent.com/pF3q3fioe8IKJon6EjK4LJdR1BNiFjSiTBnagUQbPLA/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9oeTVUWWlDQndROW84dVJLRy9DRDIyeHVTNXg0V3N3REdBbi10eXBlLWFydGljbGUucG5n.webp)
Smart Article Extractor
No credit card required
![Smart Article Extractor](https://images.apifyusercontent.com/pF3q3fioe8IKJon6EjK4LJdR1BNiFjSiTBnagUQbPLA/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9oeTVUWWlDQndROW84dVJLRy9DRDIyeHVTNXg0V3N3REdBbi10eXBlLWFydGljbGUucG5n.webp)
Smart Article Extractor
No credit card required
📰 Smart Article Extractor extracts articles from any scientific, academic, or news website with just one click. The extractor crawls the whole website and automatically distinguishes articles from other web pages. Download your data as HTML table, JSON, Excel, RSS feed, and more.
Wrt previous isse
Sorry, I can't reply to your response.
I tried something similar, but it didn't scrape contents.
{text: $("//*[@id='middle-panel']/article/div[5] | //div[@class='pb-5']").text().trim()}
However, in Chrome this XPath finds the correct section of a webpage.
Could you please explain why?
pzubkiewicz
I am using |
in the XPath so it can handle different HTML structures on this particular page.
![lukaskrivka avatar](https://apify-image-uploads-prod.s3.amazonaws.com/mPSyG35Lffj5ybtgz/3xNTfQWj8svZAjh5r-bigger_photo.jpg)
Hello,
You should be able to reply to the closed issue as well. I cannot make it XPath to work but I don't have much experience with it. I will see if any colleagues can give me advice. How exactly do you run it in Chrome?
![lukaskrivka avatar](https://apify-image-uploads-prod.s3.amazonaws.com/mPSyG35Lffj5ybtgz/3xNTfQWj8svZAjh5r-bigger_photo.jpg)
I realized we don't use the browser to run the parser so only CSS selectors are available.
Actor Metrics
309 monthly users
-
87 stars
>99% runs succeeded
15 days response time
Created in Nov 2019
Modified 2 months ago