Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to read torrent #161

Open
simonbcn opened this issue Dec 15, 2023 · 2 comments
Open

Failed to read torrent #161

simonbcn opened this issue Dec 15, 2023 · 2 comments

Comments

@simonbcn
Copy link
Contributor

Firefox 120.0.1
Torrent Control 0.2.36

I have defined a Custom URL... for a private tracker: /^https:\/\/www\.xxxxxx\.rent\/download\.php\/[a-zA-Z\d]+\/[a-zA-Z\d%]+$/
But torrent-control fails to add it: Failed to read torrent (Unknown type: text/html;charset=utf-8)

The request header is:

POST /download.php/5750cf41d13199212749ede83bb49cf5c355973d6bcf6cd8/Fellow%2520Travelers%2520S01%25201080p%2520x265%2520EN%2520Sub HTTP/2
Host: www.xxxxxxxx.rent
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded
Content-Length: 17
Origin: https://www.gaytor.rent
DNT: 1
Sec-GPC: 1
Connection: keep-alive
Referer: https://www.xxxxxxxxxxxxx.rent/details.php?id=5750cf41d13199212749ede83bb49cf5c355973d6bcf6cd8
Cookie: uid=xxxxxxxxx; pass=xxxxxx; token=xxxxxxxxx.xxxxxxxxxx.xxxx-xxxxxxxx; PHPSESSID=xxxxxxxxxxx
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1
TE: trailers
@simonbcn
Copy link
Contributor Author

However, with this extension that also captures URLs (only for Google Chrome) it works.: https://github.com/bogenpirat/remote-torrent-adder

@Mika-
Copy link
Owner

Mika- commented Feb 25, 2024

that site uses custom tracker software that generates torrents with post requests. This isn't currently implemented as request method is only known when left clicking links, so with current architecture it wouldn't work with any advanced features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants