sonarr_youtubedl icon indicating copy to clipboard operation
sonarr_youtubedl copied to clipboard

[VVVVID] unsupported url but Youtube-dl support the site [ReOpen]

Open VegethB opened this issue 4 years ago • 4 comments

I reopen the issue whatdaybob/Custom_Docker_Images#22 (unfortunately you have not given permission to reopen for real, so I have to make a new one). Having received no feedback from anyone, I therefore decided to open it. In case you can close.

Comment:

Thank you for the update, but unfortunately it didn't work completely. Now (according to the logs) he finds the series and ep (even without #!) But he can't download them because they don't respect the pattern / regEX "EPISODE\\ 03" ... (I assume it's more in "*episode* \d" the regEX). Now I have tried to insert match-title / matchtitle as a parameter for YDL in the config but it seems to be ignored and it wouldn't work anyway. Unfortunately I don't know where it gets the title (URL? ID?) But in both cases, many times the episode title does not contain the numbering (0-9) and the word "episode" but the actual title of the episode. Example: Akudama Drive Episode1: "Se7En" is the title (there is no "episode" or number). Am I doing something wrong?

New Conf: image

VVVVID Screens Ex:

image

This is the URL page used in the program. On the right it actually says "episode" + the episode number (this is a special case, because according to the site, the episodes of the second season do not have a proper title).

But now let's take Attack on Titan as an example: image image

At least as far as URL and WEB page are concerned, there is no "episode" in the title.

AnimeGG: image image As you can see, the program displays the titles and sorts the episodes independently. If you move the mouse over the box that contains the title of the ep the word "stream>" appears to open the link it uses for the download (same link if you open ep from the VVVVID web page)

Log/error:

image

2021-01-26 13:34:53,028 - sonarr_youtubedl - INFO - Initial run 2021-01-26 13:34:53,033 - sonarr_youtubedl - INFO - Configuration Found. Loading file. 2021-01-26 13:34:53,055 - sonarr_youtubedl - INFO - Scan interval set to every 15 minutes by config.yml 2021-01-26 13:34:53,057 - sonarr_youtubedl - DEBUG - DEBUGGING ENABLED 2021-01-26 13:34:53,078 - sonarr_youtubedl - DEBUG - Begin call Sonarr for all available series 2021-01-26 13:34:53,080 - sonarr_youtubedl - DEBUG - Begin GET with url: http://192.168.1.2:8989/api/series /app/sonarr_youtubedl.py:186: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead logger.warn('{0} is not currently monitored'.format(ser['title'])) 2021-01-26 13:34:54,151 - sonarr_youtubedl - WARNING - Psycho-Pass is not currently monitored 2021-01-26 13:34:54,154 - sonarr_youtubedl - WARNING - Psycho-Pass is not currently monitored 2021-01-26 13:34:54,157 - sonarr_youtubedl - DEBUG - Begin call Sonarr for all episodes for series_id: 48 2021-01-26 13:34:54,159 - sonarr_youtubedl - DEBUG - Begin GET with url: http://192.168.1.2:8989/api/episode 2021-01-26 13:34:54,161 - sonarr_youtubedl - DEBUG - Begin GET with params: {'seriesId': 48} 2021-01-26 13:34:54,229 - sonarr_youtubedl - INFO - The Promised Neverland missing 1 episodes 2021-01-26 13:34:54,233 - sonarr_youtubedl - INFO - 1: The Promised Neverland - Episode 3 2021-01-26 13:34:54,236 - sonarr_youtubedl - DEBUG - Begin call Sonarr for all episodes for series_id: 175 2021-01-26 13:34:54,238 - sonarr_youtubedl - DEBUG - Begin GET with url: http://192.168.1.2:8989/api/episode 2021-01-26 13:34:54,240 - sonarr_youtubedl - DEBUG - Begin GET with params: {'seriesId': 175} 2021-01-26 13:34:54,258 - sonarr_youtubedl - INFO - Kemono Jihen no episodes needed 2021-01-26 13:34:54,260 - sonarr_youtubedl - INFO - Processing Wanted Downloads 2021-01-26 13:34:54,263 - sonarr_youtubedl - INFO - The Promised Neverland: 2021-01-26 13:34:54,267 - sonarr_youtubedl - DEBUG - Cookies file used: /config/vvvvid.it_cookies.txt 2021-01-26 13:34:54,269 - sonarr_youtubedl - DEBUG - Youtube-DL opts used for episode matching 2021-01-26 13:34:54,271 - sonarr_youtubedl - DEBUG - {'ignoreerrors': True, 'playlistreverse': True, 'matchtitle': 'EPISODE\ 3', 'quiet': False, 'logger': <utils.YoutubeDLLogger object at 0x7fd50034c590>, 'progress_hooks': [<function ytdl_hooks at 0x7fd50039acb0>], 'cookie': '/config/vvvvid.it_cookies.txt'} 2021-01-26 13:34:55,053 - sonarr_youtubedl - DEBUG - [VVVVIDShow] Downloading JSON metadata 2021-01-26 13:34:55,288 - sonarr_youtubedl - DEBUG - [VVVVIDShow] the-promised-neverland-seconda-stagione: Downloading JSON metadata 2021-01-26 13:34:55,391 - sonarr_youtubedl - DEBUG - [VVVVIDShow] the-promised-neverland-seconda-stagione: Downloading JSON metadata 2021-01-26 13:34:55,545 - sonarr_youtubedl - DEBUG - [download] Downloading playlist: The Promised Neverland - Seconda Stagione 2021-01-26 13:34:55,550 - sonarr_youtubedl - DEBUG - [VVVVIDShow] playlist The Promised Neverland - Seconda Stagione: Collected 3 video ids (downloading 3 of them) 2021-01-26 13:34:55,552 - sonarr_youtubedl - DEBUG - [download] Downloading video 1 of 3 2021-01-26 13:34:55,555 - sonarr_youtubedl - DEBUG - [download] "Episodio 3" title did not match pattern "EPISODE\ 3" 2021-01-26 13:34:55,557 - sonarr_youtubedl - DEBUG - [download] Downloading video 2 of 3 2021-01-26 13:34:55,560 - sonarr_youtubedl - DEBUG - [download] "Episodio 2" title did not match pattern "EPISODE\ 3" 2021-01-26 13:34:55,562 - sonarr_youtubedl - DEBUG - [download] Downloading video 3 of 3 2021-01-26 13:34:55,564 - sonarr_youtubedl - DEBUG - [download] "Episodio 1" title did not match pattern "EPISODE\ 3" 2021-01-26 13:34:55,566 - sonarr_youtubedl - DEBUG - [download] Finished downloading playlist: The Promised Neverland - Seconda Stagione 2021-01-26 13:34:55,568 - sonarr_youtubedl - INFO - 1: Missing - Episode 3: 2021-01-26 13:34:55,571 - sonarr_youtubedl - INFO - Waiting...

Full log: https://mega.nz/file/V99CGCRT#oEkWZq7TdVoQG8YEY5B8V78kNgqCZA7j5aMEtBowJ1w

I renew my thanks for 'lupdate and look forward to it again @whatdaybob .

VegethB avatar Jan 31 '21 23:01 VegethB

Sorry, life is getting a bit in the way at the moment as I just started a new job. I will try have a look this weekend.

whatdaybob avatar Feb 01 '21 08:02 whatdaybob

Sorry, life is getting a bit in the way at the moment as I just started a new job. I will try have a look this weekend.

Go quiet 👍. The fact is that in my opinion Github does not send you notifications if the issue is closed. Not having received feedback and not being able to re-open the same issue, I thought about doing it again. It is not a problem to wait 💪

VegethB avatar Feb 01 '21 12:02 VegethB

hi @zFerry98 , had a quick look at this, wouldn't the regex match and replace be like below?

regex:
  sonarr:
    match: 'Episodio'
    replace: 'Episode'

I unfortunately do not have access to VVVVIDShow site as its georestricted. Only issue I am seeing is that Episodio 1 doesn't match Episode 1.

whatdaybob avatar Feb 19 '21 03:02 whatdaybob

hi @zFerry98 , had a quick look at this, wouldn't the regex match and replace be like below?

regex:
  sonarr:
    match: 'Episodio'
    replace: 'Episode'

I unfortunately do not have access to VVVVIDShow site as its georestricted. Only issue I am seeing is that Episodio 1 doesn't match Episode 1.

image

It is not the solution/problem. As I explained in the comment, he tries to download from the "playlist" (which he creates) all the files that have as regEX: "Episode /d". So he wants that in the title/filename (in the playlist he downloads) there is, FORCE, "Episode" and the incremental number of the episode ... But as I said, VVVVID in the title puts the episode title (which as for example, in Kemono Jihen there is no RegEX that takes to get around the problem). The fact is that "AnimeGG" software (which is opensource) uses YouTube-DL and it seems that the "playlist" it downloads is also considered the numbering of the episodes (so the fifth of the list is episode 5... or so it appears from the software GUI).

To bypass the GeoRestriction use: https://www.psiphon3.com/it/index.html (putting Italy as a server). Thanks for the support anyway.

Edit1:

Also as per log, he has set AWAKENING in RegEX as a fixed value FOR THE WHOLE LIST ... So he also claims that the title of episode 1 (English) is identical to the title of episode 2 (English) ... LOL. Thinking about it now ... wouldn't it be enough to remove RegEX Matching? Just have you consider episode 6 as the 6 link in the downloaded playlist?

VegethB avatar Feb 20 '21 22:02 VegethB