Error downloading trailers from YT and filmtrailer
#1
I am new to tMM and have the latest version (3.0.1) installed.

I am still trying to find my way around, so I don't know if I'm doing something wrong, but whenever I try to download a trailer from either YT or filmtrailer, I get the exceptopm below. Apple works fine and I haven't tried HD Trailers because I can't see any HDT links in my movies yet.
Code:
19:47:58.217 ERROR org.tinymediamanager.core.tasks.DownloadTask - problem downloading: 
org.tinymediamanager.scraper.exceptions.HttpException: HTTP 403 / Forbidden | https://r4---sn-hp57yn7r.googlevideo.com/videoplayback?expire=1560750479&ei=L9UGXfGZB4fE4QTk1YmADA&ip=66.176.70.126&id=o-AK6sNrRAMmxa5epdj6s-JTkIvyfAGjkHmZ0hPOpY-soW&itag=43&source=youtube&requiressl=yes&mm=31,26&mn=sn-hp57yn7r,sn-5uaezn6k&ms=au,onr&mv=m&pl=16&initcwndbps=2047500&mime=video/webm&gir=yes&clen=9675882&ratebypass=yes&dur=0.000&lmt=1298441901054205&mt=1560728775&fvip=4&c=WEB&sparams=expire,ei,ip,id,itag,source,requiressl,mime,gir,clen,ratebypass,dur,lmt&sig=ALgxI2wwRQIhANGwEqgzxw9lfaZPACH4MpAmf7v-_59t3fTP01pBsFa2AiAcQpX32fDSrKUMvmOUklzuEMcJnbXvzJBRy1o7em0D9A==&lsparams=mm,mn,ms,mv,pl,initcwndbps&lsig=AHylml4wRQIgNFBComOCCIOfbp9C_iGfQxZZzjMC9JiQ04EJcfy73DUCIQCko2FzQIHT6TbfHZUZaWdWHbvJCu4ShlhzyyQXQ2yyzw==&signature=ALgxI2wwRQIhANGwEqgzxw9lfaZPACH4MpAmf7v-_59t3fTP01pBsFa2AiAcQpX32fDSrKUMvmOUklzuEMcJnbXvzJBRy1o7em0D9A==
    at org.tinymediamanager.scraper.http.Url.getInputStream(Url.java:314)
    at org.tinymediamanager.scraper.http.Url.getInputStream(Url.java:261)
    at org.tinymediamanager.scraper.http.StreamingUrl.getInputStream(StreamingUrl.java:42)
    at org.tinymediamanager.core.tasks.DownloadTask.doInBackground(DownloadTask.java:149)
    at org.tinymediamanager.core.threading.TmmTask.run(TmmTask.java:125)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

19:56:49.390 ERROR org.tinymediamanager.scraper.http.Url - proxy or host not found/reachable - de.clip-1.filmtrailer.com
19:56:49.390 ERROR org.tinymediamanager.core.tasks.DownloadTask - problem downloading:
java.lang.NullPointerException: null
at org.tinymediamanager.core.tasks.DownloadTask.doInBackground(DownloadTask.java:154)
at org.tinymediamanager.core.threading.TmmTask.run(TmmTask.java:125)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Any idea what's causing this? I checked my Firewall settings too as well as the Windows logs and can't see anything wrong.

Thank you.
#2
there ist everything in the stack trace: HTTP 403 / Forbidden Wink

the problem is, that youtube hides the links to their videos and our logic tries to parse it.. but sometimes youtube changes their logic and tmm is not able to fully "decode" the right url. You hit a case where tmm did not manage to decode the right url and the youtube servers react with a forbidden HTTP code..

we are working on a new implementation of the youtube parser, but we need more time (and this is what we don't have..)
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at GitLab
#3
(2019-06-17, 07:42)mlaggner Wrote: there ist everything in the stack trace: HTTP 403 / Forbidden Wink

the problem is, that youtube hides the links to their videos and our logic tries to parse it.. but sometimes youtube changes their logic and tmm is not able to fully "decode" the right url. You hit a case where tmm did not manage to decode the right url and the youtube servers react with a forbidden HTTP code..

we are working on a new implementation of the youtube parser, but we need more time (and this is what we don't have..)

Got it! My luck... I tried 9 different movies (counted, I swear) and got the same error on all. But I'm very thankful for your response and the fact that you're working on this. Thanks for dedicating tMM some of the little free time you have. I'm sure I speak for the hundreds (thousands) or users!

Logout Mark Read Team Forum Stats Members Help
Error downloading trailers from YT and filmtrailer0