Jump to content

Ytrailers stopped downloading - Forbidden


Recommended Posts

Posted

After the initial install, it downloaded trailers without issue, but new media seems to be triggering this in the log file.

2024-06-16 17:09:25.655 Error App: YTrailers - Error
    *** Error Report ***
    Version: 4.8.8.0
    Command line: C:\Users\**\AppData\Roaming\Emby-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows 6.1.7601 Service Pack 1
    Framework: .NET 6.0.30
    OS/Process: x64/x64
    Runtime: C:/Users/***/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 4
    Data path: C:\Users\***\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\***\AppData\Roaming\Emby-Server\system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Forbidden
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFileResponse(HttpRequestOptions options)
       at YTrailers.Search.LocalYTrailersVideoDownloader.DownloadYTrailerForItem(BaseItem item, CancellationToken cancellationToken, ILibraryManager libraryManager)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()

Any suggestions?

 

Thanks

S

 

 

 

Posted

Hi please send a message to the developer @radeon. Thanks.

Posted

Did you get a response from the developer? I have exactly the same problem for a few days

Posted

Yes, i did get a quick response from developer. Originally thought it would just fix itself due to it being at youtube server side but that is seeming less likely now.

Have been messaging developer with updates but as of today mine still has this issue.

  • Thanks 2
geowill76
Posted

Hi Scoobz

I was wondering if you would update this ticket as to how things are going along and if a fix will be put in place as I am also seeing the same forbidden error as you are.

Posted

not heard back from dev, but have added that more people having same issue so must be YouTube has changed something.

Posted

Hey all, Google is in the process of changing YouTube's specs so looking like it might need a bit longer before it settles down and the plugin will be working again. Bear with, thanks

  • Thanks 1
geowill76
Posted

Hi Radeon

Thanks for the update.  Just curious, once google have finished changing Youtube specs will we be able to download trailers again or do you think changes will need to be made to your plugin for it to start working again.

Posted

Until things settle down, I couldn't honestly tell you. 

sydlexius
Posted
On 6/22/2024 at 5:44 AM, jaycedk said:

Yep youtube / google did some thing 

[youtube] "Video unavailable" with cookies - YouTube blocking accounts from web · Issue #10085 · yt-dlp/yt-dlp (github.com)

Not sure if above is the issue, but they "google" is doing something.

 

Just highlighting what that Issue # (as well as a few dupes on the yt-dlp/youtube-dl repos have), but the gist is that for those of you that use yt-dlp/youtube-dl/etc, do NOT use your cookies with those apps at this time, as that may very well get your account banned.

Posted

Ytrailers doesn't use any of those to achieve what it does. 👍

sydlexius
Posted (edited)
4 minutes ago, radeon said:

Ytrailers doesn't use any of those to achieve what it does. 👍

Understood, and apologies for thread-jacking.  Google has been rapidly changing features that have been breaking things like your plugin, yt-dlg, SmartTube, SponsorBlock, etc lately.  Clearly they're bent on increasing revenues, decreasing costs, or both and are expending resources to make this more difficult.  Right now the cat is winning, but mice always find a way to get their cheese!  The purpose of my post was to make sure some of them don't die trying!

Edited by sydlexius
  • Like 2
Painkiller88
Posted

yes i have the same issue.

But as we are now talking about problems with this addon, maybe in a future update it would be great if we can sign in with our acount to youtube as i often see download not working for 18+ movies with the notification to sign in to verify age.

Maybe we can get a solution for this as well.

Thanks

  • 2 weeks later...
geowill76
Posted

Just wanted to check if there was any update to the plugin and YouTube.

Posted
6 hours ago, geowill76 said:

Just wanted to check if there was any update to the plugin and YouTube.

HI, I would send radeon a PM in the event that he's not seeing this. Thanks.

radeon
Posted

Hey all, I'm heartbroken to say my dad passed away on Monday 1st July after a 6 year battle with heart attacks, an Abdominal Aortic Aneurysm, Parkinsons and Progressive Supranuclear Palsy. I'm going to be taking some time out from everything for a while. Don't worry, I'm not going anywhere for long and will return in the coming weeks, I just need to take some time for all the usual reasons you'd expect. Please bear with me. I will be back. 

  • 5 weeks later...
Posted

Very sorry for your loss.

While your work here is very much appreciated, you and your family's wellbeing should always come first.

  • Like 1
  • 1 month later...
Painkiller88
Posted (edited)

it is working again, but can it be the downloader is now downloading in SD quality?

All the trailers downloaded since it is working again are in SD low quality, there is not a single new trailer with 1080p or 720p

 

thanks

Edited by Painkiller8818
Posted (edited)

Well that was an Ar*e! 

As part of Google/Youtube changes, they have made more of their content adaptive so they separate their audio from video streams. it used to be down to 1080, then 720 and now apparently 320 so I have to download the audio and video separately then merge them with ffmpeg after the fact. I've just pushed another release with this functionality. Give it a go.

I'm off to france on sunday for 3 weeks so will be out of the loop

Edited by radeon
  • Like 1
Painkiller88
Posted
9 hours ago, radeon said:

Well that was an Ar*e! 

As part of Google/Youtube changes, they have made more of their content adaptive so they separate their audio from video streams. it used to be down to 1080, then 720 and now apparently 320 so I have to download the audio and video separately then merge them with ffmpeg after the fact. I've just pushed another release with this functionality. Give it a go.

I'm off to france on sunday for 3 weeks so will be out of the loop

Thanks a lot, it is working. :)

Painkiller88
Posted

Hi,

One other question, maybe there is a solution. I saw this since i had the plugin but i am not able to login:

Error caused by Youtube.(Sign in to confirm your age)

Is there a way to login or add session cookies or anything else to download trailers of 18+ movies?

Thanks

  • 2 weeks later...
Posted

Just pulled down the latest posted version of this and I am getting the following error:

2024-09-28 13:35:59.058 Error App: Error downloading trailer for Ghost in the Shell
	*** Error Report ***
	Version: 4.8.9.0
	Command line: C:\Users\wmc\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service
	Operating system: Microsoft Windows 10.0.20348
	Framework: .NET 6.0.33
	OS/Process: x64/x64
	Runtime: C:/Users/wmc/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 48
	Data path: C:\Users\wmc\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\wmc\AppData\Roaming\Emby-Server\system
	VideoLibrary.Exceptions.UnavailableStreamException: VideoLibrary.Exceptions.UnavailableStreamException: Error caused by Youtube.(This video is not available))
	   at VideoLibrary.YouTube.ParseVideos(String source, String jsPlayer, JToken playerResponseJson)+MoveNext()
	   at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
	   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
	   at System.Linq.OrderedEnumerable`1.GetEnumerator()+MoveNext()
	   at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
	   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
	   at YTrailers.Search.YouTubeSearch.Search(BaseItem item, CancellationToken cancellationToken)
	Source: test
	TargetSite: Boolean MoveNext()

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...