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.
vespino
Posts: 23
Joined: Sat Apr 08, 2017 9:57 am

RSS feed 403

Tue Oct 24, 2017 3:23 pm

I have created a simple PHP script that calls the RSS feed dynamically so it shows me only movies from "this year" minus 1. This has always worked great, but since this morning I'm getting a 403 error. Did anything change? Is my IP banned?

Code: Select all

<?php
echo file_get_contents('https://www.opensubtitles.org/en/search/sublanguageid-dut/searchonlymovies-on/movieyearsign-5/movieyear-'.(date('Y')-1).'/subadddate-2/subformat-srt/rss_2_00/');
?>

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

Re: RSS feed 403

Tue Oct 24, 2017 9:28 pm

it works for me:

https://www.opensubtitles.org/en/search ... t/rss_2_00

sometimes site is overloaded, so have to retry later

vespino
Posts: 23
Joined: Sat Apr 08, 2017 9:57 am

Re: RSS feed 403

Tue Oct 24, 2017 10:58 pm

I didn't say the RSS feed does not work, I said my server could not read from it and I'm getting a 403 error.

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

Re: RSS feed 403

Wed Oct 25, 2017 7:22 am

I didn't say the RSS feed does not work => so then it works, so all is good. No need to ask if something is working.

Now, it is working on your computer ? Yes ? Then problem is on your server.
Is your server IP banned ? We dont know your server IP (but nope, it is not banned for RSS)

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 3 guests