philippta / flyscrape

Flyscrape is a command-line web scraping tool designed for those without advanced programming skills.
https://flyscrape.com
Mozilla Public License 2.0
1.04k stars 31 forks source link

Errors in Getting Started docs page #26

Closed altern8tif closed 10 months ago

altern8tif commented 10 months ago

Some errors on the Getting Started docs page.

Should be const meta = post.next(1); instead of const meta = link.next();

CleanShot 2023-12-06 at 5  29 08

I think the docs might have been removed from the repo, hence didn't submit a PR.

apainintheneck commented 10 months ago

I ran into the same thing. Maybe it's just that Hacker News has updated their website since the doc was written.

philippta commented 10 months ago

Thanks for reporting. Docs are updated.

It should have been this, just like in examples/hackernews.js:

const meta = post.next();