scraper
Video-Hub-App
Our great sponsors
scraper | Video-Hub-App | |
---|---|---|
12 | 65 | |
98 | 540 | |
- | - | |
0.0 | 4.2 | |
about 1 year ago | about 2 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scraper
- Most Used Individual JavaScript Libraries - jQuery still leads
-
Most Used JavaScript Libraries (percentage) - June 2022 [OC]
Additional info and source code for generating the dataset, summarizing it and rendering the chart are available at https://github.com/get-set-fetch/scraper/tree/main/datasets/javascript-libs-from-top-1mm-sites
-
How to collaborate on web scraping?
Store the scrape progress (to-be-scraped / in-progress / scraped / in-error URLs) in a database shared by all participants and scrape in parallel with as many machines as the db load permits. Got a connection timeout / IP is blocked on one machine ? Update the scrape status for the corresponding URL and let another machine retry it. https://github.com/get-set-fetch/scraper (written in typescript) follows this idea. Using Terraform from a simple config file you can adjust the number of scraper instances to be deployed in cloud at startup and during the scraping process. In benchmarks a PostgreSQL server running on a DigitalOcean vm with 4vCPU, 8GB memory allows for ~2000 URLs to be scraped per second (synthetic data, no external traffic). From my own experience this is almost never the bottleneck. Obeying robots.txt crawl-delay will surely put you under this limit. Disclaimer: I'm the npm package author.
-
How to serve scrapped data?
Written in typescript https://github.com/get-set-fetch/scraper stores scraped content directly in a database (sqlite, mysql, postgresql). Each URL represents a Resource. You can implement your own IResourceStorage and define the exact db columns you need.
-
How to scrape entire blogs with content?
You can use https://github.com/get-set-fetch/scraper with a custom plugin based on the mozilla/readability as detailed in https://getsetfetch.org/node/custom-plugins.html (extracting news article content). I think it's a close match to your use case.
-
A simple solution to rotate proxies or how to spin up your own rotation proxy server with Puppeteer and only a few lines of JS code
I'm currently implementing concurrency conditions at project/proxy/domain/session level in https://github.com/get-set-fetch/scraper . On each level you can define the maximum number of requests and the delay between two consecutive requests.
-
Web scraping content into postgresql? Scheduling web scrapers into a pipeline with airflow?
If you're familiar with nodejs give https://github.com/get-set-fetch/scraper a try. Scraped content can be stored in sqlite, mysql or postgresql. It also supports puppeteer, playwright, cheerio or jsdom for the actual content extraction. No scheduler though.
-
Web Scraping 101 with Python
I'm using this exact strategy to scrape content directly from DOM using APIs like document.querySelectorAll. You can use the same code in both headless browser clients like Puppeteer or Playwright and DOM clients like cheerio or jsdom (assuming you have a wrapper over document API). Depending on the way a web page was fetched (opened in a browser tab or fetched via nodejs http/https requests), ExtractHtmlContentPlugin, ExtractUrlsPlugin use different DOM wrappers (native, cheerio, jsdom) to scrape the content.
[1] https://github.com/get-set-fetch/scraper/blob/main/src/plugi...
-
What is your “I don't care if this succeeds” project?
https://github.com/get-set-fetch/scraper - I've been working (intermittently :) ) on a nodejs or browser extension scraper for the last 3 years, see the other projects under the get-set-fetch umbrella. Putting a lot more effort lately as I really want to do those Alexa top 1 million analysis like top js libraries, certificate authorities and so on. A few weeks back I've posted on Show:HN as you can do basic/intermediate? scraping with it.
Not capable of handling 1 mil+ pages as it still limited to puppeteer or playwright. Working on adding cheerio/jsdom support right now.
Video-Hub-App
-
Ask HN: How did you earn your first $100 and first $1k online?
First $100: Thirty copies sold of Video Hub App
First $1,000: Three hundred copies sold of my Video Hub App
Though I do donate $3.50 of every sale to a cost-effective charity so in theory I made no money for a while until I bumped the price to $5 / copy.
-
Jellyfin: The Free Software Media System
semi-on-topic: I created Video Hub App that is like YouTube for local files: shows you a gallery with scrub-able (preview on hover) thumbnails. But does not work streaming videos to TV / tablet - only for local consumption. Hope someone finds it useful.
MIT Open Source: https://github.com/whyboris/Video-Hub-App
-
Generating Income from Open Source
I created Video Hub App which is MIT License
https://github.com/whyboris/Video-Hub-App
I also sell it for $5 and have sold just over 5,000 copies last month (5 years old app). Importantly, $3.50 of every purchase goes to a cost-effective charity, GiveWell recommended Against Malaria Foundation (see website for details).
-
Python GUIs
"The problem" might be that people in this thread and others get frustrated because others have different goals than them.
Of course Electron is overkill for a single-button application. But Visual Basic is absolutely going to be a headache if you want a custom GUI.
Pick the tool that's right for the job!
I build this with Electron: https://videohubapp.com/
-
Ask HN: Most interesting tech you built for just yourself?
Simplest File Renamer - https://www.yboris.dev/renamer & https://github.com/whyboris/Simplest-File-Renamer
I wanted to be able to quickly rename files with my text editor (using keyboard commands), so this lets me do it. Plus I share the app online for free.
Video Hub App - https://videohubapp.com/ & https://github.com/whyboris/Video-Hub-App
I started it just for myself, but it ended up so good I spent several more years improving it as people kept buying it (up to almost 5,000 purchases since I started).
Also wrote a couple of dev tools for myself (sharing via NPM too) - https://www.yboris.dev/
-
I've been data hoarding for 25 years. I have a bajillion hobbies. It's hard to stay organized.
I created Video Hub App: https://videohubapp.com/ - it shows screenshots from videos as you scrub/hover across the thumbnail.
-
FFmpeg 6.0
I've been so frustrated that FFprobe functionality is not part of FFmpeg.
My app extracts screenshots from videos to create a beautiful gallery of videos. But even though I include FFmpeg already, I need a 50mb FFprobe executable to be bundled with my app just so that I can determine the width, height, duration, and fps of a video file! What is it that FFprobe does that FFmpeg couldn't do with a few extra pieces of exposed API?
https://videohubapp.com/ - https://github.com/whyboris/Video-Hub-App
https://github.com/whyboris/Video-Hub-App/blob/772b25bbd4b41...
-
Those making $500/month on side projects in 2023 – Show and tell
Created Video Hub App (that will be 5 years old next month). I sell it for $5 and $3.50 of each purchase goes to the cost-effective charity Against Malaria Foundation (See GiveWell.org for details).
It was averaging around 100 purchases per month, though it's lower over the last year as I've not had time to release new updates (moving to another state is challenging).
https://videohubapp.com/ - Think of it like YouTube for videos on your computer. Browse, search, and organize your videos
MIT Open Source: https://github.com/whyboris/Video-Hub-App
-
Ask HN: What is the most impactful thing you've ever built?
Built Video Hub App that almost 5,000 people have purchased. I was a math teacher, became a web dev 6 years ago, built this 5 years ago. Most proceeds go to charity. Very minor by comparison to others, but I'm just starting out ;)
https://videohubapp.com/ && https://github.com/whyboris/Video-Hub-App
What I did that is most impactful is that I've been giving at least 10% of my income to cost-effective charities for over 10 years now (see Giving What We Can - thousands of others do the same). This amounts to almost $100,000 given to charity which translates to thousands of people protected from malaria for many years of their lives.
-
Ask HN: What's a good business model for selling standalone software
My personal model for my commercial software: charityware - require a payment but made most proceeds go to my favorite (cost-effective) charity.
I'm getting about 100 purchases ($500/month, donating $350 of that) with my Video Hub App - https://videohubapp.com/ - which is also open source - https://github.com/whyboris/Video-Hub-App
I wrote about charityware a few years ago: https://medium.com/@whyboris/charityware-doing-good-with-pro...
What are some alternatives?
puppeteer-cluster - Puppeteer Pool, run a cluster of instances in parallel
stash - An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
playwright-recaptcha-solver - ReCaptcha V2 solver for Playwright
mediaChips - Manage your videos, add any metadata to them and play them.
playwright-python - Python version of the Playwright testing and automation library.
screenity - The free and privacy-friendly screen recorder with no limits 🎥
pyppeteer - Headless chrome/chromium automation library (unofficial port of puppeteer)
ts-playground - :computer: Opensource and free resource to learn and practice TypeScript skills. Tutorials, code snippets and sample applications.
Twitch-Drops-Bot - A Node.js bot that will automatically watch Twitch streams and claim drop rewards.
tauri-vs-electron - A comparison of the two frameworks: is Tauri a better choice than electron in 2021?
vopono - Run applications through VPN tunnels with temporary network namespaces
hydrus - A personal booru-style media tagger that can import files and tags from your hard drive and popular websites. Content can be shared with other users via user-run servers.