+2

Getting status code 412 for every request

oded welgreen 9 years ago 0

Hi,

I'm getting 412 Precondition Failed for every request. Here is the User Agent I am using:"

"SubDB/1.0 (SubtitleWatcher/0.1; http://github.com/odedw)"


I tried using the same user agent that is in the documentation, getting the same result.

How can I fix this?

Thanks,

Oded

+1

magnet link hash

Thuban 9 years ago 0

Hi,

first of all, thanks for this great API. Just so simple and well thinked.

I was wondering id there is any method to convert a magnet hash like 40ec2d6beb4b40f528250f535411f2bc79d4140a to the hash used by the api? I guess not, but I give a try.

+1

Hash Function in Ruby

Gautam Sawhney 10 years ago 0
I am submitting the code for generating the hash using ruby. Useful for people implementing the API using Ruby.

Link to the Code
0

Bleach

Charlie puth 3 years ago 0


0
Planned

bug on sandbox

Wilker Silva 14 years ago updated by Jr. Hames 14 years ago 0
Sending requests to action "download" is getting some unexpected results on "pt" language.

If I do a regular request with en it does:


it returns:

1\n00:00:05,000 --> 00:00:15,000\nAtention: This is a test subtitle.\n \n2 \n00:00:25,000 --> 00:00:40,000\nSubDB - the free subtitle database\nhttp://thesubdb.com\n

OK for that, but when I do:


it returns 404, but with:

it back returning EN value.
Answer
Jr. Hames 14 years ago
Thanks for the feedback. I'll be working on it asap.
-1

Ijiranaide, Nagatoro-san

Ijiranaide, Nagatoro-san 4 years ago 0
-1

This is amazing, such a great idea...

Blair Gemmer 7 years ago updated by blair gemmer 6 years ago 2

...to upload/download via hash function instead of guessing via filename. I will forever recommend this product to all my developer friends!

-1

User-Agent cannot be overriden on Chrome

Hugo Mota 8 years ago 0

Chrome (maybe other browsers?) has a bug where you cannot set User-Agent header. So it's not possible to use the API in a javascript app. Apparently the User-Agent header was in some forbidden list of headers at some point (not anymore), but Chrome hasn't updated this issue yet.


Consider changing to a custom header, something like "Client-ID" or whatever.

Regards.

-1

TV Show Taken S01E07, it´s wrong

robamajo 8 years ago 0

Would you please do correct Subtitles for TV Show TAKEN S01E07, because It´s totally wrong..

-1

Not getting content-language header

oktubre26+subdb 9 years ago 0

When I use the download action, passing a valid hash and two languages es,en

I'm not getting the content-language header back to see if the subtitle found was in spanish or english.