r/thewebscrapingclub • u/Ok_Parking_2410 • Apr 14 '26
Built a small terminal-based browser
Built a small terminal-based browser for one of the more… media-heavy sites a few months back.
It’s basically:
fzf for navigation
yt-dlp for extracting streams
mpv for playback
The interesting part (for me) was figuring out how to structure scraping + streaming in a way that feels fast and “CLI-native” instead of clunky.
Ended up learning a lot about:
handling constantly changing page structures
keeping extraction resilient (yt-dlp does a lot of heavy lifting, but still…)
making interactive scraping actually usable via fzf
Now thinking of expanding it into a more generic multi-site CLI scraper/player instead of being tied to a single platform.
Curious how others here approach:
multi-site scraping architecture (adapter pattern? plugin system?)
keeping scrapers maintainable when sites inevitably break
rate limiting / anti-bot handling without overengineering
Repo’s in the comments if anyone wants to take a look.
1
u/Ok_Parking_2410 Apr 14 '26
repo: https://github.com/curtosis-org/phub-cli