{"id":20631049,"url":"https://github.com/gfarrell/knobble","last_synced_at":"2025-07-04T10:33:20.202Z","repository":{"id":142037738,"uuid":"288299413","full_name":"gfarrell/knobble","owner":"gfarrell","description":"Observable-based framework for extracting data from websites, especially when it's a bit more complex or bespoke than a simple crawler will do.","archived":false,"fork":false,"pushed_at":"2020-08-30T14:35:27.000Z","size":193,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-21T09:06:30.531Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gfarrell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-17T22:28:28.000Z","updated_at":"2020-08-30T14:35:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"0161c14c-8a3b-4324-ade0-20160f05c784","html_url":"https://github.com/gfarrell/knobble","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gfarrell/knobble","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarrell%2Fknobble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarrell%2Fknobble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarrell%2Fknobble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarrell%2Fknobble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfarrell","download_url":"https://codeload.github.com/gfarrell/knobble/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarrell%2Fknobble/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263493242,"owners_count":23475162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T14:10:41.316Z","updated_at":"2025-07-04T10:33:20.159Z","avatar_url":"https://github.com/gfarrell.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Knobble: a framework for crawling websites\n\nKnobble is a framework to make it really easy to write fast, custom\ncrawlers for websites. You can download files, write data to a variety\nof common formats, or do pretty much whatever you like. It is designed\nto be extremely flexible and easy to build on.\n\n## Motivation\n\nKnobble came about when I had to extract some data from a friend's\nwebsite for him (it's a long story). The website was using\nall sorts of annoying infini-scroll pages which meant that\n[HTTrack](https://www.httrack.com/) just didn't capture most of the\ndata. The search pages also had lots of circular references, and the\ndata were often copied to multiple locations. I needed a really fast way\nto write custom crawlers for the different pages whose data I really\nneeded to extract on a very tight timeline. The original use-case was\ndownloading PDFs and creating CSVs, but you can really extend this to\nany application you would like. Check out the `examples` folder for more\nideas as to how it can be used.\n\n## TODO\n\n- [x] Finish off rewrite\n  - [x] Create pipeline functions for connecting things\n  - [x] Create download helper for pooling connections\n  - [x] Create a link extraction helper\n  - [x] Create basic factories for crawling pages as a SourceSink\n  - [x] See if you can replace the download pool with HTTP[S].Agent\n  - [x] Create basic sinks for downloading files and writing data files (CSV, JSON)\n- [x] Add a Sink-retry wrapper (higher-order sink)\n- [x] Add a URL filter\n- [x] Write some examples\n- [ ] Find a nice way to handle errors\n- [ ] Make it a proper library with a good build toolchain\n- [ ] Make a nice CLI to show the queue count, progress indicators, etc.\n- [ ] Finish README documentation\n\n## Basic Usage\n\n## Basic Concepts\n\n### Pipelines\n\n### Sources\n\n### Sinks\n\n### Crawlers\n\n### Helpers\n\n#### Link Extractor\n\n#### Downloader\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfarrell%2Fknobble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgfarrell%2Fknobble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfarrell%2Fknobble/lists"}