-
Notifications
You must be signed in to change notification settings - Fork 597
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
Pirate Bay Not Finding Results #3305
Comments
From what I can tell, this is the HTML that is stored in the data variable when is searches: And looking at that, it appears that maybe Pirate Bay has switched to rendering it's result table to javascript and the requests library is unable to get the HTML of the table?
|
have switched the default to use apibay.org, this is in develop if you want to test |
Hello @AdeHub, I have a cloudflare error for apibay.org, do you have it too ? |
No, got logs for that? Could also try proxy https://prbay.top/ |
Yep! headphones-1 | 15-Aug-2024 14:09:08 - INFO :: ('CP Server Thread-4',) : Searching for "Amaranthe - The Catalyst" since it was marked as wanted
headphones-1 | 15-Aug-2024 14:09:08 - DEBUG :: ('CP Server Thread-4',) : Using search term: Amaranthe The Catalyst
headphones-1 | 15-Aug-2024 14:09:08 - INFO :: ('CP Server Thread-4',) : Searching The Pirate Bay using term: Amaranthe The Catalyst
headphones-1 | 15-Aug-2024 14:09:08 - DEBUG :: ('CP Server Thread-4',) : Requesting URL via GET method: http://apibay.org/q.php?q=Amaranthe The Catalyst&cat=101
headphones-1 | 15-Aug-2024 14:09:08 - ERROR :: ('CP Server Thread-4',) : Unable to connect to remote host. Check if the remote host is up and running. For prbay, same result unfortunately! headphones-1 | 15-Aug-2024 14:10:48 - INFO :: ('CP Server Thread-10',) : Searching for "Amaranthe - The Catalyst" since it was marked as wanted
headphones-1 | 15-Aug-2024 14:10:48 - DEBUG :: ('CP Server Thread-10',) : Using search term: Amaranthe The Catalyst
headphones-1 | 15-Aug-2024 14:10:48 - INFO :: ('CP Server Thread-10',) : Searching The Pirate Bay using term: Amaranthe%20The%20Catalyst
headphones-1 | 15-Aug-2024 14:10:48 - DEBUG :: ('CP Server Thread-10',) : Requesting URL via GET method: https://prbay.top/search/Amaranthe%20The%20Catalyst/0/7/101
headphones-1 | 15-Aug-2024 14:10:48 - ERROR :: ('CP Server Thread-10',) : Unable to connect to remote host. Check if the remote host is up and running.
headphones-1 | 15-Aug-2024 14:10:48 - INFO :: ('CP Server Thread-10',) : Search for wanted albums complete |
I tried another proxy and I have the same error: headphones-1 | 15-Aug-2024 14:14:13 - INFO :: ('CP Server Thread-2',) : Searching for "Amaranthe - Manifest" since it was marked as wanted
headphones-1 | 15-Aug-2024 14:14:13 - DEBUG :: ('CP Server Thread-2',) : Using search term: Amaranthe Manifest
headphones-1 | 15-Aug-2024 14:14:13 - INFO :: ('CP Server Thread-2',) : Searching The Pirate Bay using term: Amaranthe%20Manifest
headphones-1 | 15-Aug-2024 14:14:13 - DEBUG :: ('CP Server Thread-2',) : Requesting URL via GET method: https://tprbay.xyz/search/Amaranthe%20Manifest/0/7/101
headphones-1 | 15-Aug-2024 14:14:13 - ERROR :: ('CP Server Thread-2',) : Unable to connect to remote host. Check if the remote host is up and running.
headphones-1 | 15-Aug-2024 14:14:13 - INFO :: ('CP Server Thread-2',) : Search for wanted albums complete Although if you check the URL, you can see that there is one result for this search :( |
I am not getting that error, apibay, prbay,tprbay all working for me TPB seems to be pretty flaky, have you looked at using Torznab with Jackett/Prowlarr |
Hello @AdeHub, I reproduced locally, apibay is working fine when running Headphones using the python script. EDIT: got it! DNS issue. WOuld you be interested in adding a dockerfile to the repo ? The one from linuxserver is outdated :( |
I have been using headphones for a while now and it has worked in the past and I've always used pirate bay as my search provider. However, it hasn't found any new music in quite a long time.
Headphones Version: 83398cb
Pirate Bay Proxy URL: Tried blank (Default) and https://thepiratebay.org
Logs (Using RHCP as example):
26-May-2022 09:29:43 - INFO :: ('CP Server Thread-11',) : Marking album: 0580e402-e6e8-4b5b-894a-399a10c63adb as wanted...
26-May-2022 09:29:43 - INFO :: ('CP Server Thread-11',) : Searching for wanted albums
26-May-2022 09:29:43 - INFO :: ('CP Server Thread-11',) : Searching for "Red Hot Chili Peppers - Unlimited Love" since it was marked as wanted
26-May-2022 09:29:43 - DEBUG :: ('CP Server Thread-11',) : Using search term: Red Hot Chili Peppers Unlimited Love
26-May-2022 09:29:43 - INFO :: ('CP Server Thread-11',) : Searching The Pirate Bay using term: Red Hot Chili Peppers Unlimited Love
26-May-2022 09:29:43 - DEBUG :: ('CP Server Thread-11',) : Requesting URL via GET method: https://thepiratebay.org/search/Red Hot Chili Peppers Unlimited Love/0/7/101
26-May-2022 09:29:45 - INFO :: ('CP Server Thread-11',) : No results found from The Pirate Bay using term: Red Hot Chili Peppers Unlimited Love
26-May-2022 09:29:45 - INFO :: ('CP Server Thread-11',) : No more results found for: Red Hot Chili Peppers - Unlimited Love
Using the requesting URL, I see multiple results in the browser:
The text was updated successfully, but these errors were encountered: