-
Notifications
You must be signed in to change notification settings - Fork 5
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
API addic7ed.com changed, tool no langer works #90
Comments
you mean api of thetvbd changed (addicted hasn't have an api (yet, they are working on it though) the tvdb urls are changed to new format subtools gives [ERROR] Error occured with httpclient response: 301 Moved Permanently |
Is it possible to fix this? Opensubtitles seems to be working. |
by more investigation its due the fact that addicted has implemented recaptcha v2 for logins |
So that means this tool no longer works, or can this be fixed? |
Same kind of error with Opensubtitles. |
Can somebody make it work again please? Or point to alternatives? |
Fixed in #93, although addic7ed is very slow. |
Thank you very much for picking up this problem after a long, long time. |
I did reinstalled JAVA with the latest version, but still I keep on getting an INI error. Anything I can do to fix this problem ?? |
You need the latest java version (java 18). I use the latest OpenJdk, which you can download here: https://jdk.java.net/18/. But I don't think this is the problem. |
I use Java build 1.8.0_341-b10. The last version of Multisubdownloader (13.0 with dependecies) works still fine (offcourse with the known API errors like reported above). |
You are using java 8, not 18. |
Java 8 is the latest (consumer) version. The JDK version is indeed at version 18, but I don't know whether it is a wise thing to install a Developer verion on a regular PC. |
You don't need the jdk indeed, because it includes many things you don't need. But it isn't 'bad' either. FYI: In a few days, java 19 will be released. Edit: I'll probably won't update to 19, the new features I was going to use are still in preview mode. |
I installed the JDK version, but I still keep on getting errors like: |
I have the exact same error. Fixed it bu installing: https://www.oracle.com/java/technologies/downloads/#jdk18-windows |
This will probably be fixed in the new version. I've created a new PR: #108 |
When downloading from opensubtitles I get an error:
[INFO] Downloading subtitle:
[Bull.2016.S06E01.iNTERNAL.1080p.WEB.H264-WHOSNEXT.srt] for release:
[bull.2016.s06e01.internal.720p.web.h264-whosnext.mkv]
[ERROR] org.opensubtitles.invoker.ApiException: Message:
HTTP response code: 406
HTTP response body: {"requests":8,"remaining":-3,"message":"You have
downloaded your allowed 5 subtitles for 24h.Your quota will be renewed in
23 hours and 00 minutes (2022-09-28 19:58:25 UTC) ","reset_time":"23 hours
and 00 minutes","reset_time_utc":"2022-09-28T19:58:25.000Z"}
HTTP response headers: {access-control-allow-origin=[*], age=[0],
alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400],
cache-control=[max-age=0, private, must-revalidate, s-maxage=600],
cf-cache-status=[DYNAMIC], cf-ray=[7517279659670c71-AMS],
content-length=[258], content-type=[application/json; charset=utf-8],
date=[Tue, 27 Sep 2022 20:57:58 GMT], expires=[0], last-modified=[Tue, 27
Sep 2022 20:57:58 GMT],
nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}],
pragma=[no-cache], ratelimit-limit=[5], ratelimit-remaining=[4],
ratelimit-reset=[1], referrer-policy=[strict-origin-when-cross-origin],
report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=ig%2FcanElMWck2qSsozwJaaSJljLDHHOu09ynU61pg9QYnvdW7jhBr0LCAebiETbKiGsveoEOCLUmknCvSUDmXz4wCBU26yyoFvcT4GqRJgprZdBvJQbGes74D3%2Fx7xf38RGLwVlhy7c%3D"}],"group":"cf-nel","max_age":604800}],
server=[cloudflare], strict-transport-security=[max-age=15552000;
includeSubDomains; preload], x-cache-backend=[apigw1_8000 rb1],
x-content-type-options=[nosniff], x-download-options=[noopen],
x-frame-options=[SAMEORIGIN], x-kong-proxy-latency=[1],
x-kong-upstream-latency=[514], x-permitted-cross-domain-policies=[none],
x-ratelimit-limit-second=[5], x-ratelimit-remaining-second=[4],
x-request-id=[b1889bc7-d48c-4080-b2f9-a6eabd6340f1], x-runtime=[0.114848],
x-var-cache=[MISS], x-via=[fw1], x-xss-protection=[1; mode=block]}
Is this something new? Never happend on with older versions.
Op zo 25 sep. 2022 om 15:37 schreef EotT123 ***@***.***>:
… [ERROR] createRelease [ERROR] Unknown serie name in tvdb: The Rookie Only
one serie and one movie are showing up.
This will probably be fixed in the new version. I've created a new PR:
#108 <#108>
—
Reply to this email directly, view it on GitHub
<#90 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADZAAWV3CS762KETTUMHBWTWABIRHANCNFSM4G6AA4YA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
To solve this, you have to create an account on opensubtitle and add the credentials in the settings menu. Otherwise, you'll be limited to download 5 subtitles per 24 hours. (see #91). The old api is deprecated and will be removed (by opensubtitles, so there is nothing I can do about that). |
I did that, but still the same errror |
Which version are you using? The latest released version (1.4.0)? Or did you build a version yourself based on the latest code? It's possible that there was a problem which is already fixed. |
I was using 1.4.0. I don't know how to build a version myself. Thank you for 1.4.1. Seems to be working perfect. Except it disregards the excluded folders to scan. |
I tried the 1.4.1 version and it looks very nice (great option with the automatic search for series). But I get dozens of this ERROR line: [ERROR] API OpenSubtitles searchSubtitles for serie [Day of the Dead S01E04] (Cannot invoke "org.lodder.subtools.multisubdownloader.subtitleproviders.opensubtitles.api.v2.OpenSubtitlesApi.searchSubtitles()" because the return value of "org.lodder.subtools.multisubdownloader.subtitleproviders.adapters.JOpenSubAdapter.getApi()" is null) |
I'm working on a new version, but it takes some time. |
Great news, thank you for your work. |
A new version is ready, I've created a new PR: #115 @Denniswolt Exclude folders should be fixed. If you don't want to wait until a new version is released, you could already try this one: |
Thank you @EotT123 for this new version. |
@TheFonZzz This is still original code of phdelodder, I haven't touched that part. I could try to improve it, but for now, you could rename your file to Doc.Martin.S10E05.1080p.STV.WEB-DL.AAC2.0.H.264[eztv.re].avi (S010E05 -> S10E05). |
[ERROR] API Addic7ed searchSubtitles for serie [New Amsterdam (2018) S05E04] (Exception while getting value (org.lodder.subtools.sublibrary.ManagerException: Error occured with httpclient response: 302 Moved Temporarily)) Addic7ed does not seem to be working. |
You can try the Addic7ed proxy (can be selected in Serie providers tab in settings) |
This is an error I see since working with the latest version (1.5.1) [ERROR] API OpenSubtitles searchSubtitles for serie [Yellowstone (2018) S05E08] (org.lodder.subtools.multisubdownloader.subtitleproviders.opensubtitles.exception.OpenSubtitlesException: org.opensubtitles.invoker.ApiException: Message: |
@TheFonZzz OpenSubtitles is blocking your request, because you have done too many requests. Btw, 1.5.1 is not yet released, new 1.5.1 versions are build automatically when new features or fixes are added. You can find the latest nightly build here: https://github.com/phdelodder/SubTools/actions . The top row contains the latest build. |
@EotT123 It happens after a little while. Maybe because I've got so many titles for which I'm looking for subs (about 95). I'll try that 1.5.0 version later today.. Thanks for all your work. I really appreciate. |
@TheFonZzz The 5 seond delay should only start when a request is blocked. So maybe 20 request can be done, followed by a wait of 5 seconds, before a new batch of 20 request can be done. So you'll only have to wait 30 seconds for the 95 requests. (These numbers are just to give you an example, I don't know how many requests can be done before a new request is blocked). |
No description provided.
The text was updated successfully, but these errors were encountered: