pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.74k stars 271 forks source link

Ygg.re #11720

Open Silvers12 opened 1 month ago

Silvers12 commented 1 month ago

Describe the bug YGG.re don't work. The providers is becoming private so now maybe we can add it.

To Reproduce Steps to reproduce the behavior:

  1. I have modify the yggtorrent.py file with :

    URLs

    self.url = **'https://www.ygg.re'**
    self.urls = {
        'auth': urljoin(self.url, 'user/ajax_usermenu'),
        'login': urljoin(self.url, **'auth**/login'),
        'search': urljoin(self.url, 'engine/search'),
        'download': urljoin(self.url, 'engine/download_torrent?id={0}')
    }

But i have an error and i don't know where is the log... Can you help me with the new ygg.re please ? Thx ;) Silvers

StudioEtrange commented 2 weeks ago

The connection method to the ygg website may have change ? It keeps saying Error: HTTPError('403 Client Error: Forbidden for url: https://www.ygg.re/user/login')

My logs


2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] User-Agent: Medusa/1.0.21 (Linux; 5.15.0-112-generic; 7bbe6dec-3106-11ef-b143-0242ac120011)
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] GET URL: https://www.ygg.re/user/ajax_usermenu [Status: 403]
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] The response returned a non-200 response while requesting url https://www.ygg.re/user/login Error: HTTPError('403 Client Error: Forbidden for url: https://www.ygg.re/user/login')
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] With post data: id=**********&pass=**********
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] User-Agent: Medusa/1.0.21 (Linux; 5.15.0-112-generic; 7bbe6dec-3106-11ef-b143-0242ac120011)
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] POST URL: https://www.ygg.re/user/login [Status: 403]
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] Unable to retrieve redirect URL for https://www.ygg.re/user/login
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] The response returned a non-200 response while requesting url https://www.ygg.re/user/login Error: HTTPError('403 Client Error: Forbidden for url: https://www.ygg.re/user/login')
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] User-Agent: Medusa/1.0.21 (Linux; 5.15.0-112-generic; 7bbe6dec-3106-11ef-b143-0242ac120011)
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] GET URL: https://www.ygg.re/user/login [Status: 403]
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] Using alternative method to retrieve redirect URL
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] The response returned a non-200 response while requesting url https://www.ygg.re/user/login Error: HTTPError('403 Client Error: Forbidden for url: https://www.ygg.re/user/login')
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] User-Agent: Medusa/1.0.21 (Linux; 5.15.0-112-generic; 7bbe6dec-3106-11ef-b143-0242ac120011)
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] GET URL: https://www.ygg.re/user/login [Status: 403]
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] Retrieving redirect URL for https://www.ygg.re/user/login
2024-06-23 05:03:19 DEBUG    FORCEDSEARCHQUEUE-MANUAL-363955 :: [Yggtorrent] :: [] The response returned a non-200 response while requesting url https://www.ygg.re/user/ajax_usermenu Error: HTTPError('403 Client Error: Forbidden for url: https://www.ygg.re/user/ajax_usermenu')