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

PTB no longer working #3339

Open
raymondjstone opened this issue May 26, 2024 · 9 comments
Open

PTB no longer working #3339

raymondjstone opened this issue May 26, 2024 · 9 comments

Comments

@raymondjstone
Copy link

raymondjstone commented May 26, 2024

Since pulling the lastest version today any searches using PTB fail

2024-05-26 08:22:52 | ERROR | Uncaught exception: Traceback (most recent call last):File "/app/headphones/headphones/logger.py", line 215, in new_runold_run(*args, **kwargs)File "/usr/lib/python3.10/threading.py", line 953, in runself._target(*self._args, **self._kwargs)File "/app/headphones/headphones/searcher.py", line 245, in searchforalbumdo_sorted_search(album, new, losslessOnly)File "/app/headphones/headphones/searcher.py", line 374, in do_sorted_searchsend_to_downloader(data, result, album)File "/app/headphones/headphones/searcher.py", line 1085, in send_to_downloaderqbittorrent.setSeedRatio(torrentid, seed_ratio)File "/app/headphones/headphones/qbittorrent.py", line 289, in setSeedRatioreturn qbclient.qb.set_share_ratio(hash.lower(), ratio)File "/app/headphones/lib/qbittorrentv2/client.py", line 800, in set_share_ratioreturn self._post('torrents/setShareLimits', data=data)File "/app/headphones/lib/qbittorrentv2/client.py", line 64, in _postreturn self._request(endpoint, 'post', data, **kwargs)File "/app/headphones/lib/qbittorrentv2/client.py", line 88, in _requestrequest.raise_for_status()File "/app/headphones/lib/requests/models.py", line 960, in raise_for_statusraise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://chuwi01:8081/api/v2/torrents/setShareLimits -- | -- | -- 2024-05-26 08:22:52 | WARNING | Could not get seed ratio for The Pirate Bay
@raymondjstone
Copy link
Author

mirror set was https://prbay.top/

@rembo10
Copy link
Owner

rembo10 commented May 26, 2024

Do you mind checking the qbittorrent logs to see what might have gone wrong?

@raymondjstone
Copy link
Author

no errors on that side, only on the headphones side which would I assume be where the seeder count is checked since that is a config setting in headphones

@AdeHub
Copy link
Collaborator

AdeHub commented Aug 10, 2024

Added the missing param inactiveSeedingTimeLimit

https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#set-torrent-share-limit

This is in develop if you want to test

@raymondjstone
Copy link
Author

Still gives errors (albeit different ones) for me

2024-08-11 09:32:56 | ERROR | An unknown error occurred in the Pirate Bay parser: can only join an iterable
2024-08-11 09:32:55 | INFO | Searching The Pirate Bay using term: xxxxxxredactedxxxxxxxxx

@raymondjstone
Copy link
Author

DEBUG logs don't show much else

2024-08-11 11:25:20 INFO No more results found for: xxxredactedxxx
2024-08-11 11:25:20 ERROR An unknown error occurred in the Pirate Bay parser: can only join an iterable
2024-08-11 11:25:20 ERROR An unknown error occurred in the Pirate Bay parser: can only join an iterable
2024-08-11 11:25:19 DEBUG Requesting URL via GET method: https://mypirate.lat/search/xxxredactedxxx/0/7/100
2024-08-11 11:25:19 INFO Searching The Pirate Bay using term: xxxredactedxxx
2024-08-11 11:25:19 DEBUG Using search term: xxxredactedxxx
2024-08-11 11:25:19 INFO Searching for "xxxredactedxxx" since it is marked as wanted

@AdeHub
Copy link
Collaborator

AdeHub commented Aug 11, 2024

Some proxies no longer working #3305

Try with https://prbay.top/ or leave blank to use apibay.org

@raymondjstone
Copy link
Author

neither of those two work here

@AdeHub
Copy link
Collaborator

AdeHub commented Aug 16, 2024

Think the qBitTorrent issue is fixed but using tpb is hit or miss, have you looked at using Torznab with Jackett/Prowlarr

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

No branches or pull requests

3 participants