BIT-HDTV: Convert from Scraping to API #507

Open
opened 2026-02-20 10:00:10 -05:00 by deekerman · 1 comment
Owner

Originally created by @mvanbaak on GitHub (Mar 14, 2022).

Is there an existing issue for this?

  • I have searched the existing issues

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.

  1. Search torrents using the API (already available)
  2. Upload torrent
  3. Download torrent

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)

- rssdownload.php using just the api key

https://www.bit-hdtv.com/rssdownload.php?id=<the id>&api_key=<the api key>

Example:
https://www.bit-hdtv.com/rssdownload.php?id=431273&api_key={{apiKey}}

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

Originally created by @mvanbaak on GitHub (Mar 14, 2022). ### Is there an existing issue for this? - [X] I have searched the existing issues ### 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. 1. Search torrents using the API (already available) 2. Upload torrent 3. Download torrent 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) ``` - rssdownload.php using just the api key https://www.bit-hdtv.com/rssdownload.php?id=<the id>&api_key=<the api key> Example: https://www.bit-hdtv.com/rssdownload.php?id=431273&api_key={{apiKey}} ``` 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](https://dev.azure.com/Servarr/7ab38f4e-5a57-4d70-84f4-94dd9bc5d6df/_workitems/edit/2791)
Author
Owner

@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.

@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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Prowlarr#507
No description provided.