+2

Getting status code 412 for every request

oded welgreen hace 9 años 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 hace 9 años 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 hace 10 años 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 hace 3 años 0


0
Planeado

bug on sandbox

Wilker Silva hace 14 años actualizado por Jr. Hames hace 14 años 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.
Respuesta
Jr. Hames hace 14 años
Thanks for the feedback. I'll be working on it asap.
-1

Ijiranaide, Nagatoro-san

Ijiranaide, Nagatoro-san hace 4 años 0
-1

This is amazing, such a great idea...

Blair Gemmer hace 7 años actualizado por blair gemmer hace 6 años 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 hace 8 años 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 hace 8 años 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 hace 9 años 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.