Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
rvm
Posts: 2
Joined: Tue Jul 22, 2008 12:09 pm

simplexml not working when only one subtitle is available

Tue Jul 22, 2008 12:17 pm

I use the following to search for subtitles:

http://www.opensubtitles.org/search/sub ... /simplexml

I realized it doesn't work when only one subtitle is available. Instead of getting the simple xml page it's redirected to a full html page with the subtitle info.

Example:
http://www.opensubtitles.org/search/sub ... /simplexml

That redirects to http://www.opensubtitles.org/en/subtitles/3306847/-en

Is there any way to avoid this behavior?

User avatar
oss
Site Admin
Posts: 5890
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Wed Jul 23, 2008 3:20 am

thats a bug, I will correct that, thanks for info.

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 26 guests