{"id":13961801,"url":"https://github.com/licavalentin/audiobookbay","last_synced_at":"2025-07-21T06:31:55.056Z","repository":{"id":37978385,"uuid":"246575539","full_name":"licavalentin/audiobookbay","owner":"licavalentin","description":"✨🎧AudioBookBay Scraper🎧✨ ","archived":false,"fork":false,"pushed_at":"2024-04-03T18:41:20.000Z","size":403,"stargazers_count":38,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-02T14:17:24.747Z","etag":null,"topics":["audiobooks","javascript","nodejs","pirate","scraper","torrent"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/audiobookbay","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/licavalentin.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-03-11T13:15:47.000Z","updated_at":"2025-06-19T19:12:14.000Z","dependencies_parsed_at":"2023-08-30T18:24:52.511Z","dependency_job_id":"27bd08fd-2211-48c7-aac6-d11187536035","html_url":"https://github.com/licavalentin/audiobookbay","commit_stats":null,"previous_names":["gjonloku/audiobookbay","valentinhlica/audiobookbay","licavalentin/audiobookbay"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/licavalentin/audiobookbay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licavalentin%2Faudiobookbay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licavalentin%2Faudiobookbay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licavalentin%2Faudiobookbay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licavalentin%2Faudiobookbay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/licavalentin","download_url":"https://codeload.github.com/licavalentin/audiobookbay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licavalentin%2Faudiobookbay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266253584,"owners_count":23900052,"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":["audiobooks","javascript","nodejs","pirate","scraper","torrent"],"created_at":"2024-08-08T17:01:27.584Z","updated_at":"2025-07-21T06:31:50.046Z","avatar_url":"https://github.com/licavalentin.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# ✨🎧AudioBookBay Scraper🎧✨\n\n## 🏁 Install\n\n```shh\nnpm install audiobookbay\n```\n\n## 🔍 Search Audiobooks\n\n| Name      | Description            | Default                                               | Type   |\n| --------- | ---------------------- | ----------------------------------------------------- | ------ |\n| Query     | Search Query           |                                                       | String |\n| Page      | Search Page            | 1                                                     | Number |\n| Search In | Text content to search | `{ titleAuthor: true, content: true, torrent: true }` | Object |\n\n\u003cbr\u003e\n\n```js\nimport { search } from \"audiobookbay\";\n\nconst audiobooks = await search(\"dune\", 1, {\n  titleAuthor: true,\n});\n```\n\n### Response\n\n```json\n{\n \"pagination\": {\n  \"currentPage\": \"Current Page\",\n  \"total\": \"Total Pages\"\n },\n \"data\": [\n   {\n     \"title\": \"Audiobook Title\",\n     \"url\":\n       \"Audiobook URL\",\n     \"category\":\n       [\"Array of Categories\"],\n     \"lang\": \"Audiobook Language\",\n     \"cover\": \"Audiobook Cover\",\n     \"posted\": \"Date when Audiobook was posted\",\n     \"info\": {\n         \"format\": \"Audiobook Format\",\n         \"bitrate\": \"Audiobook Bitrate\",\n         \"size\": [\"Audiobook Size\",\"Size UNIT\"]\n     }\n   }, ...\n ]\n}\n```\n\n### 🪣 Explore By Category/Tag\n\n#### Category Options\n\n\u003cul\u003e\n  \u003cli\u003e\n    Age: children, teen-young-adult, adults, the-undead\n  \u003c/li\u003e\n\n  \u003cli\u003e\n    Category: postapocalyptic, action, adventure, art, autobiography-biographies, business, computer, contemporary, crime, detective, doctor-who-sci-fi, education, fantasy, general-fiction, historical-fiction, history, horror, lecture, lgbt, literature, litrpg, general-non-fiction, mystery, paranormal, plays-theater, poetry, political, radio-productions, romance, sci-fi, science, self-help, spiritual, sports, suspense, thriller, true-crime, tutorial, westerns\n    \u003c/ul\u003e\n  \u003c/li\u003e\n\n  \u003cli\u003e\n    Category Modifiers: anthology, bestsellers, classic, documentary, full-cast, libertarian, military, novel, short-story\n  \u003c/li\u003e\n\u003c/ul\u003e\n\n#### Tag Options\n\n\u003cul\u003e\n  \u003cli\u003e\n  Popular Language: english, dutch, french, spanish, german\n  \u003c/li\u003e\n\u003c/ul\u003e\n\n| Name   | Description              | Default  | Type   |\n| ------ | ------------------------ | -------- | ------ |\n| Type   | Explore by tag, category | category | String |\n| Option | Options filter           |          | String |\n| Page   | Page Number              | 1        | String |\n\n\u003cbr\u003e\n\n```js\nimport { explore } from \"audiobookbay\";\n\nconst audiobooks = await explore(\"category\", \"postapocalyptic\", 2);\n```\n\n### Response\n\n```json\n{\n \"pagination\": {\n  \"currentPage\": \"Current Page\",\n  \"total\": \"Total Pages\"\n },\n \"data\": [\n   {\n     \"title\": \"Audiobook Title\",\n     \"url\":\n       \"Audiobook URL\",\n     \"category\":\n       [\"Array of Categories\"],\n     \"lang\": \"Audiobook Language\",\n     \"cover\": \"Audiobook Cover\",\n     \"posted\": \"Date when Audiobook was posted\",\n     \"info\": {\n         \"format\": \"Audiobook Format\",\n         \"bitrate\": \"Audiobook Bitrate\",\n         \"size\": [\"Audiobook Size\",\"Size UNIT\"]\n     }\n   }, ...\n ]\n}\n```\n\n### 🎵 Get Audiobook\n\n| Name | Description  | Default | Type   |\n| ---- | ------------ | ------- | ------ |\n| ID   | Audiobook ID |         | String |\n\n\u003cbr\u003e\n\n```js\nimport { audiobook } from \"audiobookbay\";\n\nconst audiobook = await audiobook(\n  \"the-road-to-dune-brian-herbert-kevin-j-anderson-frank-herbert\"\n);\n```\n\n### Response\n\n```json\n{\n  \"title\": \"Audiobook title\",\n  \"category\": [\"Array of Categories\"],\n  \"lang\": \"Audiobook Language\",\n  \"cover\": \"Audiobook Cover\",\n  \"author\": \"Audiobook Author\",\n  \"read\": \"Audiobook Reader\",\n  \"audioSample\": \"Sample of Audiobook MP3\",\n  \"specs\": {\n    \"format\": \"Audiobook Format\",\n    \"bitrate\": \"Audiobook Bitrate\"\n  },\n  \"abridged\": \"Is the book shortened\",\n  \"desc\": \"Audiobook Description\",\n  \"torrent\": {\n    \"hash\": \"Audiobook Hash\",\n    \"trackers\": [\"Audiobook Trackers\"],\n    \"size\": [\"Audiobook size\", \"Size UNIT\"],\n    \"magnetUrl\": \"Magnet Link\" // 🧲 Magnet Link\n  },\n  \"related\": [\n    {\n      \"title\": \"Related Audiobook Title\",\n      \"url\": \"Related Audiobook URL\"\n    }\n  ]\n}\n```\n\n## ⚡ Example Usage\n\nIncluded is an example using the library.\n\n[usage-example.ts](./playground/usage-example.ts)\n\nTo run it from this repo.\n\n```bash\npnpm example\n```\n\n![](./docs/images/example-screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flicavalentin%2Faudiobookbay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flicavalentin%2Faudiobookbay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flicavalentin%2Faudiobookbay/lists"}