mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-03-02 22:57:22 -05:00
BIT-HDTV: Convert from Scraping to API #507
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Tooling
Area: UI
Area: Update API
Priority: High
Priority: Low
Priority: Medium
Status: Cannot Reproduce
Status: Confirmed
Status: Help Wanted
Status: In Progress
Status: Indexer - need invite
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
lidarr-pull
radarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Prowlarr#507
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mvanbaak on GitHub (Mar 14, 2022).
Is there an existing issue for this?
Is your feature request related to a problem? Please describe
Bit-hdtv recently created an API to search their site without having to provide your username/password or site-cookie, but using an API key.
This weekend they also added the possibity to grab the actual torrent file this way.
Describe the solution you'd like
Prowlarr should use the bit-hdtv api to do it's job. This way it wont be scraping the html etc.
Describe alternatives you've considered
N/A
Anything else?
As described in their announcement (https://www.bit-hdtv.com/forums/viewtopic.php?pid=102411):
Copied from above link
This announcement is more for the tech savy users / developers.
As we know a while back we have an API from where you can search torrents and get response in a standardized format. (https://api.bit-hdtv.com/docs)
We extended these with some easy options to search / upload and download torrents using the api key without totally exposing your account (using cookies or user/pass).
The following 3 actions can be done by api key (without cookies or user/pass) and response in standard format for scripts/scrapers/automations projects can handle easy.
It has some code examples in PHP
I'm only pasting the part about downloading here. The part about searching has no code examples, the api.bit-hdtv.com/docs has all the info needed (swaggerui)
How to get your API key?
Go to Profile in the top left and at the bottom of the page you will see an option to add an Api Key.
Input password and Submit.
AB#2791
@Qstick commented on GitHub (Dec 18, 2022):
Seems like they only allow power users to create API keys, thus this would limit the user base in Prowlarr that are able to use the indexer.