pyBegin / projects / scrap-ycombinator
📰

Scrape Y Combinator

Scrapes article titles and links from the Hacker News (Y Combinator) front page and writes them to ycombinatornews.csv.

28 lines🖥 Desktop only

Scrape Y Combinator

Scrapes article titles and links from the Hacker News (Y Combinator) front page and writes them to ycombinatornews.csv.

How to run

pip install requests beautifulsoup4 lxml
python main.py

Dependencies

Pyodide-runnable

No - it uses requests to fetch a live website over the network, which is blocked in the browser sandbox.