dbr / tvdb_api

Simple to use interface to TheTVDB.com API in Python
The Unlicense
339 stars 63 forks source link

Use thetvdb.com rather than www.thetvdb.com #32

Closed tremby closed 11 years ago

tremby commented 11 years ago

The domain without the www subdomain is allegedly more reliable, giving fewer 503 errors. See http://forums.thetvdb.com/viewtopic.php?f=4&t=12909

It has helped in my case at least.

dbr commented 11 years ago

Interesting, the last post on that thread states that thetvdb.com is the recommended domain:

http://forums.thetvdb.com/viewtopic.php?f=4&t=12909&start=70#p50065

As for those of you who asked about if you should use www.thetvdb.com or thetvdb.com. We've always told people to use thetvdb.com and we'll stick to that. I admit the wiki is poorly written on this point since it says to use thetvdb.com but then many of the examples actually use www.thetvdb.com. The truth is both work exactly the same right now. We have talked about switching it so just one works and auto forwarding the other but we haven't done it yet. Over all it is better for us if everyone uses the same one as it simplifies some of our server issues and means we don't have to waste resources forwarding people.

@thezoggy are you sure that IPv6 is broken with the nonwww domain? It looks like www.thetvdb.com is a CNAME for thetvdb.com:

$  dig www.thetvdb.com | egrep ^www.
www.thetvdb.com.    96    IN    CNAME    thetvdb.com.

..so I would expect either would be identical

thezoggy commented 11 years ago

with their last statement I say lets change it to make everyone happy.

but for reference of my comments previously:

https://github.com/SynoCommunity/spksrc/issues/304 http://www.sickbeard.com/forums/viewtopic.php?f=3&t=6055&p=28691

now we will have to go update our code as well.. xbmc already has dropped 'www' from their code for them.

dbr commented 11 years ago

Merged, as it's the suggested thing. I guess we shall see if it causes any problems.

Thank you both!