Live data from Hacker News

Show HN: Web scraping page analyzer

apify.com

41–50 of 52 posts

Re: Show HN: Web scraping page analyzer

#41
post #25
post #20

Nice work! It seems that it only supports microdata and not RDFa at the moment?

Yep only microdata. I completely forgot about RDFa. I'm immediately writing RDFa to my todo list. It would be a great addition.

Speaking of which, do you think you could support more ontologies than schema.org? It's easy to use schema.org without understanding the rest of the RDF ecosystem, so I'll elaborate in a minute, but I'm on my phone right now so it's difficult.

Re: Show HN: Web scraping page analyzer

#42
post #40

Awesome tool! How do you handle scraping data that's hiding behind layers of ~fancy~ JS libraries? Is it as simple as triggering click events, pausing for loading, and then grabbing the information?

I'd have money on using Horseman with phantomjs in node.

No, it says on the page it's using headless Chrome.

Re: Show HN: Web scraping page analyzer

#43
post #29

Awesome tool! How do you handle scraping data that's hiding behind layers of ~fancy~ JS libraries? Is it as simple as triggering click events, pausing for loading, and then grabbing the information?

This tool basicaly performs the simplest data loading, it opens the webpage, then waits till most xhr requests are done, wait's a second (tio give JS time to manipulate DOM) and then loads data from the page. This way, it has what user sees when he opens the page in browser. So if the data is visible, or loaded through XHR or hidden in global JS variable it will see it. For more advanced usage (like clicking, or subm…

[deleted]

Re: Show HN: Web scraping page analyzer

#44
post #37
post #36

Earlier quoted context omitted.

Yes, that is probably the problem, when I looked for the text it returned: [ 0:{ "selector":".bloc-blanc > p:nth-child(1)" "text":" 0 école(s) correspondent à votre recherche " } ]

Aha! I see, it shows data based on POST request from FORM on this page http://www.dsden93.ac-creteil.fr/spip/spip.php?page=annu1d so if you provide just a link to the results page without the POST data then it will show you nothing. Sadly the tool currently does not allow for sending POST requests to the websites.

Thanks for your replies, I've successfully been parsing this page with others parsers though.

Edit: the page changed and it's not working anymore. Sorry for the false alarm, my bad.

Re: Show HN: Web scraping page analyzer

#47
post #23
post #15

Earlier quoted context omitted.

Not that i can see from a surface view, i think documentation can be improved :). Personally like the idea of APIFY, saw it a few months ago. Are you guys hiring ? :D

Yes we are! Please see https://www.apify.com/jobs

It's great that you're communicating openly on HN.

I just sent an application for the Junior Web Developer position.

Looking forward to hearing back!

Re: Show HN: Web scraping page analyzer

#48
post #46

Looks awesome! Does the tool work when trying to access websites behind web application firewalls? eg. F5 WAF [1] https://f5.com/glossary/web-application-firewall

Depends on whether we access the website from a proxy that is known by the WAF. But for most websites it's just a single normal request. If it's an issue in the future we could make browser extension, that will do the analytic on page loaded by the user, so that we don't have to use proxy to connect to it. If you are talking about actually scraping the websites, then that is usually on case by case scenario. Mostly it works, but sometimes it's a bit harder to get around.

Re: Show HN: Web scraping page analyzer

#49
post #40

Awesome tool! How do you handle scraping data that's hiding behind layers of ~fancy~ JS libraries? Is it as simple as triggering click events, pausing for loading, and then grabbing the information?

I'd have money on using Horseman with phantomjs in node.

PhantomJS is dead. The arrival of Puppeteer rung the death knell.
Post reply on HN