-
Notifications
You must be signed in to change notification settings - Fork 122
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
error on HDT #310
Comments
I believe it started happening after they hard recent downtime of site. Now almost every time you enter it, it goes through DDOS cloud protection. |
Yes, I think it has to do with DOS protection too. Maybe there is a way to quick fix it using FlareResolverr? Prowlarr gets through without a problem. |
Exactly! So, here is a quick fix - HDT.py Download this new HDT.py file and keep this in From now on, we've to export cookies manually from the site and keep that in the That should work, no script login anymore. If cookies get expire then export a new one and you'll be good to go ;) |
I have to see how I do this with in docker. I have a vague idea but have to see if it works. Maybe you can make a PR to push this change? Thank you! |
I can make a PR, with no issues. But I don't think my PR will be merged to the main branch anytime soon, cuz L4G is busy irl. Also, I don't have any idea about docker. |
PR added. Hope you will find a way to make it work in Docker. |
Thank you for your work. I tried to add it to docker by mapping the files with So, when and if it gets merged is good enough for me :) |
Oh it is already merged. Great, didn't noticed at first! |
Bad news. It's not working again. Pushing cookies is not doing the trick. I tried many times yesterday and every time it worked. |
I was ready to post that i have spent past hour trying to make it work with no success. Turns out i am not the only one. |
Update: the .org domain working |
You got a cookie from hd-torrents.org website you mean or changed something in HDT.py? |
I had issues with .org, I changed cookies and script URLs to .net now it's working. |
It working now. However upon injecting in qbt it says torrent not authorized and have to recheck manually. |
Yeah, same here. Haven't checked for the solution yet. |
Hi, Using .net seems to accept the cookie but then there is a warning and an error: HDT.py:108: SyntaxWarning: invalid escape sequence '-' and Traceback (most recent call last): Any suggestions? Many thanks. |
@skifavp Found the Issue. The @PunchDrunkL0ve I recently tried, and everything is okay. By looking at the error logs, it seems like you probably had a problem with the file name. Have you tried with other files? |
Hi @sirius-sama Thanks for your suggestion. Tried again with a different file but got the exact same error as above [https://github.com//issues/310#issuecomment-1949887168] In both cases the filenames are in 'standard' format and have nothing unusual 🤷🏻♂️ |
Well... this is very strange. I am attaching a updated HDT.py. Please try to use this one. Also remove your |
@sirius-sama I really appreciate your effort but removing the pycache folder and trying again with the HDT.py from a few days ago and with your amended HDT.py still gives me the exact same error 🤯 |
Damnn, why didn't I check the error log more carefully? Argghh! |
Good catch, although PTP.py works great 🤔 Just noticed that the [HDT].torrent file in /tmp does not have my announce url but a fake.tracker url and the .net source. Could that be the root of my issue? Thanks. |
I won't be able to track down the proper error unless I use the new version of python. I will try to do that soon.
If now you're using the old version of python and my updated script, then this shouldn't be the case, also your personal announce URL will be added after a successful upload. (I checked again before writing this comment, everything works fine with the old version of python) |
That would be amazing, many thanks. |
Here's an update: And about that warning on the script start, that's just a regex error, we can ignore that error and things will work fine. After a few runs, I noticed that this error comes up once in a while. Of course, there is a fix but the main problem is that HDT is not working with both their .org and .net domains. The site not accepting cookies from the script. IDK what would be the proper solution for this atm. I think someone has to talk to the mods about it, or I'll do it 😕 Sorry for the late update, been busy in the past few days. |
Write in the helpdesk or pm byzon so we can help out. |
Good news! All domains should be working now. I only tested the .org and .net domains and both are working fine. If you face this login issue again, you can open a support ticket or PM Byzon on-site. He'll help you out. Peace ✌️ |
That's great news, many thanks to all involved, much appreciated. Perhaps now it's worth looking at getting HDT.py to work with python 3.12? |
Working on it. Trying to make the whole script v3.12 friendly. |
Has anyone met this problem? failed for both PTER and HDT |
@tclyg2008 It's strange, I've never had any issue with parsing HDT cookies, the error indicates there aren't enough lines in the cookie file. A couple of questions for you: |
@sirius-sama
|
@tclyg2008 BLU and BHD have API to do all the stuff, so there is no need to use cookies for them. You could auto-generate cookies for HDT a few months back, but now they have Cloudflare protection, so we're using manually exported cookies to log in. Anyways, I think you should try other extensions to grab cookies and see if it works. |
@sirius-sama |
Fixes from L4GSP1KE#310 (comment) Requires manual cookie management, see instructions in the linked issue
any idea why this is happening?
The text was updated successfully, but these errors were encountered: