junalmeida / Sick-Beard

Sick-Beard is a PVR & episode guide that downloads and manages all your TV shows. You must have rights to the TV Shows being downloaded. Always observe network regulations and laws in your country.
GNU General Public License v3.0
143 stars 72 forks source link

providers #7

Closed chrillep closed 11 years ago

chrillep commented 12 years ago

love the mod. your couldnt by any chance add support for torrentleech or ilovetorrents?

LennartMart commented 11 years ago

I can't write a provider for these two sites, because I don't have a login.

chrillep commented 11 years ago

alright give me and e-mail and ill invite u christian.widlund@gmail.com

nikagl commented 11 years ago

I have written a provider for torrentleech, which seems to work, but I have no clue how to work with git... I tried cloning the repository onto my windows box, did the changes to the repository and committed them, but I am not sure how to get them into your repository? I can send you the changed files, my mailadres is nikagl@gmail.com

LennartMart commented 11 years ago

Does it support backlog search? Nice work :-) Ilt doesn't support that in his rss feeds...

To make a pull request: 1) Fork this repo (button at the top) 2) Commit your changes to this fork 3) You will see at the top of your fork 'pull request'

nikagl commented 11 years ago

No, it's based on RSS so no backlog search. They do not provide a way to do that without logging into their website, for which I don't think someone wrote a method yet... I have pulled the request, let's see whether it works :)

LennartMart commented 11 years ago

Well, all the other providers support backlog search with RSS (ezrss, kat, torrentz,dtt).

I really don't know if this is a good addition. You need to have another backup provider, because torrentleech won't work when adding a new show.

nikagl commented 11 years ago

Very true, but torrentleech provides 99.9% hitratio with stuff you get from there which is much better compared to many other (free) poviders. So it's only really usefull for current shows when running sickbeard on a box that allows continuous scanning of the rssfeed...

junalmeida commented 11 years ago

Already implemented torrentleech with backlog support. Let's test!

nikagl commented 11 years ago

I am getting the following error every two hours: Dec-27 18:30:27 ERROR SEARCHQUEUE-RSS-SEARCH :: Error loading TorrentLeech URL: (, Exception('Login expired.',), ) - Login expired.

So, for instance, at 19:30 it's ok, at 20:30 the error, at 21:30 ok, 22:30 error, etc.

junalmeida commented 11 years ago

Me too. I'm wondering if it's worthy to just login again.

On Thursday, December 27, 2012 at 8:49 PM, nikagl wrote:

I am getting the following error every two hours: Dec-27 18:30:27 ERROR SEARCHQUEUE-RSS-SEARCH :: Error loading TorrentLeech URL: (, Exception('Login expired.',), ) - Login expired.
So, for instance, at 19:30 it's ok, at 20:30 the error, at 21:30 ok, 22:30 error, etc.

— Reply to this email directly or view it on GitHub (https://github.com/junalmeida/Sick-Beard/issues/7#issuecomment-11720547).

nikagl commented 11 years ago

I don’t think I understand, because when I use the torrenleech webpage, it never expires – so I don’t think Torrentleech actually uses expiration anywhere…

Regards,

Nika.

bradallred commented 11 years ago

are you sure it doesnt expire? maybe you inadvertently told the site to "remember you"

you would have to actually check the cookie to see the expiration

nikagl commented 11 years ago

Torrentleech has several cookies and most of them expire in 2038 (like memberid, tluid and tlpass). Some one year later (in my case December 8, 2013, like the pass_hash and itemMarking_forums_items cookies), and for instance the PHPSESSID cookie expires at the end of the session…

Regards,

Nika.

junalmeida commented 11 years ago

I changed the way I read those cookies. If it lasts for more than two hours then its fixed. :)

Marcos Junior http://about.me/junalmeida Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Thursday, December 27, 2012 at 9:15 PM, nikagl wrote:

Torrentleech has several cookies and most of them expire in 2038 (like memberid, tluid and tlpass). Some one year later (in my case December 8, 2013, like the pass_hash and itemMarking_forums_items cookies), and for instance the PHPSESSID cookie expires at the end of the session…

Regards,

Nika.

— Reply to this email directly or view it on GitHub (https://github.com/junalmeida/Sick-Beard/issues/7#issuecomment-11721001).

bradallred commented 11 years ago

typically phpsessid cookies are purged from the server every 20 min (default behavior). if you dont "renew" the cookie within that time frame then you loose authentication because the server deletes your session.

nikagl commented 11 years ago

Ok, will check it out as soon as you post it on github ;). I noticed another issue with a download being added to utorrent. Even though it's supposed to be added, utorrent didn't start the download:

Dec-27 17:06:38 DEBUG SEARCHQUEUE-BACKLOG-82066 :: Calling uTorrent with url: http://localhost:1234/gui/?action=add-url&token=XXXX&s=http%3A%2F%2Fwww.torrentleech.org%2Fdownload%2F404361%2FFringe.S05E10.HDTV.x264-LOL.torrent:COOKIE:PHPSESSID=YYYY; Dec-27 17:06:40 DEBUG SEARCHQUEUE-BACKLOG-82066 :: Torrent sent to uTorrent successfully

Will check out utorrent logging later, probably tomorrow...(although it's technically already tomorrow :))

nikagl commented 11 years ago

Tried again and it worked fine now compared to 17:06 this afternoon :)

junalmeida commented 11 years ago

Did'n pushed my changes yet...

Marcos Junior http://about.me/junalmeida Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Thursday, December 27, 2012 at 9:42 PM, nikagl wrote:

Tried again and it worked fine now compared to 17:06 this afternoon :)

— Reply to this email directly or view it on GitHub (https://github.com/junalmeida/Sick-Beard/issues/7#issuecomment-11721443).

nikagl commented 11 years ago

I meant for the utorrent not picking up the download issue (another one, see two posts back). Sorry for making it more confusing, the timeout still occurs ☺

Regards,

Nika.

junalmeida commented 11 years ago

Did you noticed this Torrent Leech rule?

What criteria must I meet before I can join the Uploader team?

So, all torrents on TL are .RAR?? This is really bad for our purposes. It requires too much (and unnecessary) space to keep seeding and actually post-process and watch. sad

Marcos Junior http://about.me/junalmeida Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Thursday, December 27, 2012 at 9:47 PM, nikagl wrote:

I meant for the utorrent not picking up the download issue (another one, see two posts back). Sorry for making it more confusing, the timeout still occurs ☺

Regards,

Nika.

— Reply to this email directly or view it on GitHub (https://github.com/junalmeida/Sick-Beard/issues/7#issuecomment-11721529).