Adding more torrent sites for rss d/l (1 Viewer)

Brownard

Development Group
  • Team MediaPortal
  • March 21, 2007
    2,290
    1,872
    Home Country
    United Kingdom United Kingdom
    bluenote

    Possibly a bit over the top to set up a server just for this plugin :D:D

    I can't think of another way to achieve either of what you want without editing the source as it all looks hard coded:( . As you say I don't think it would be difficult to implement but by the looks of these forums this feature just isn't used that much.

    I had wondered about additional search methods (like dloading entire series) but again it's all hard coded.

    Support for the EZTV feed natively would also be ideal for this plugin, it allows you to search by series and episode number so is very precise - currently I catch one of the TVSeries search strings (e.g 3x08) and split it into series and episode and it works great. To implement this direct you would just need to have the option to specify $name$, $series$, $episode$ instead of $search$.

    If no-one else has, I'll put in a feature request - really we only need the ability to specify whether it's a relative url or not (just an optional RegEx variable??), an option to ignore the filecount and the ability to edit the search string.
     

    bluenote

    Portal Member
    December 11, 2009
    35
    2
    Home Country
    Canada Canada
    I agree brownard. If possible maybe you can post a link to the request so we can get some visibility and some "stars" added to it from people frequenting this thread. thanks :)

    The one other thing on my wish list is free form search, but Im trying to be conservative with my feature requests, and I've already got one in :/
     

    tranquil

    Portal Pro
    September 18, 2008
    110
    2
    Tel Aviv
    Home Country
    Israel Israel
    Hey guys

    I've also now fixed torrent portal (it just needed a couple tiny tweaks). My regex is atrocious and probably not very robust so if anybody wants to clean it up, please consider yourself invited to do so. I particularily have problems with whitespace/newlines. I've been having to avoid matching anything that contains those.

    Here's updated torrent portal:

    TorrentPortal

    http://www.torrentportal.com/torrents-search.php?search=$search$&sort=seeders&d=desc&type=and&sizel=&sizeh=&cat=3&hidedead=on&exclude=

    (?s)<tr><td class="alt\d n c"><a href="(?<link>/download/(?<id>\d*)[^"]*)">.*?(?:<td.*?/td>){2}<td.*?<a href="/detail[^>]*>(?:<[^>]*>)*(?<name>[^<]*).*?/td>(?:<td.*?/td>)<td[^>]*>(?:<[^>]*>)*(?<size>[^<]*).*?/td><td[^>]*>(?:<[^>]*>)*(?<seeds>\d*).*?/td><td[^>]*>(?:<[^>]*>)*(?<leechers>\d*).*?/td>

    http://www.torrentportal.com/details/$id$/

    files.*?<td>[^\d]*(?<filecount>\d*) files<br />


    I'm working on:

    TorrentZap

    http://www.torrentzap.com/searchrss/$search$

    (?s)<item><title>(?<name>.*?)</title>.*?<link>http://www.torrentzap.com/torrent/(?<id>.*?)/.*?</link>.*?<size>(?<size>.*?)</size>.*?Seeds: (?<seeds>.*?) , Leechers (?<leechers>.*?) , Downloaded.*?</description>.*?<enclosure url=\"http://dl.torrentzap.com(?<link>.*?)\" type=.*?</item>

    http://www.torrentzap.com/torrent/$id$

    <td>(?<filecount>.*?) file\(s\) -

    But it doesn't work for me. This one probably involves the (?s) which I actually don't know if it works.



    I'm also interested in the "News" area of mptvseries , but I dont know what to put in for "newzbin Search URL" so anybody that has any info on that it'd be appreciated.

    if you need to match up spaces use \s*.
    regex usually match everything till a new lines (\n in unix or \r\n on windows),
    if you want your regex to match everything (not stop at a new line) then add the /m modifier at the end. (multi line).

    I'm also interested in the "News" area of mptvseries , but I dont know what to put in for "newzbin Search URL" so anybody that
    has any info on that it'd be appreciated.

    i think you might need a news group account for that...
     

    bluenote

    Portal Member
    December 11, 2009
    35
    2
    Home Country
    Canada Canada
    Just a note, it's possible to get isohunt to return more than 20 results (which is the default) by appending &rows=100 (which is the max.

    So if you combine that with the regex I posted earlier for isohunt it should be useful, aside from old shows that arent being found (because they are only there in season format...)

    I'm still waiting on some tips on the news side though? I have an account and everything, and I figured out from the code (gee, I couldn't have guessed?) that the search replacement is the same (heh).
    But, I'm still completely clueless on how its actually supposed to work.

    EDIT: and if anyone has suggestions for another site to add, that has downloads links from the same FQDN then I'd be happy to have a look and see if I can get it added. Unfortunately if the site is www.xxx.com and the link is dl.xxx.com it won't worked, limited by the code.
     

    djinn5150

    Portal Member
    January 19, 2010
    9
    1
    Home Country
    United States of America United States of America
    First off, thank you everyone for the work you have put in, I have been wanting to get this working again for a while now!


    Brownard: I am interested in your solution. Love EZtv!

    Would be nice if there was support to use the webui of utorrent as well as locally, or to be able to pass search info to the mytorrents plugin.(or is there a way to do this through the skin files?) currently i am passing the torrent file to local utorrent and using it to store the torrent file to the autoload folder of my dedicated torrent machine, while this works it does not allow for labeling of the torrents or save location(that i am aware of) when loaded.
     

    Brownard

    Development Group
  • Team MediaPortal
  • March 21, 2007
    2,290
    1,872
    Home Country
    United Kingdom United Kingdom
    Hey,

    Here's my EZTV workaround. You need to extract both files to a server running aspx - if you haven't got one the easiest thing is probably to install the Web Services plugin for TV Server from here

    https://forum.team-mediaportal.com/...ed-streaming-web-interface-tvserver-mp-71404/ - then copy the files to 'htdocs' in the plugin directory.

    In TV Series config:

    Search Url: http://[your-ip:port]/MPTVSeries_EZTV.aspx?term=$search$

    Search RegEx:

    Code:
    Name:(?<name>[^;]*);Link:(?<link>[^;]*);ID:(?<id>[^;]*);Seeds:(?<seeds>[^;]*);Peers:(?<leechers>[^;]*)

    Details Url:
    http://[your-ip:port]/MPTVSeries_EZTV.aspx?details=$id$

    Details RegEx:

    Code:
    files:(?<filecount>[^;]*);

    I'm no coder so feel free to improve this :)

    Thx
     

    Attachments

    • MPTVSeries_EZTV.rar
      30.6 KB

    kreker

    Portal Member
    April 15, 2008
    46
    0
    i tryed this but seems that it doesn't work.
    I installed the webserver provide and that works good. When I try to download something ftrom mptvseries i get always no record found

    update:
    my bad, it works but there is eztv that isn't update anymore:( sigh...your work is futile....
    think we have to interface with eztv's twitter rss.
     

    Brownard

    Development Group
  • Team MediaPortal
  • March 21, 2007
    2,290
    1,872
    Home Country
    United Kingdom United Kingdom
    It should still work, try with some newer shows - I know that EZTV provides some dead links for some older shows and TVSeries just downloads the html error message as the torrent, uTorrent then throws an invalid torrent error.

    Check if you get results by going to EZTV direct:
    Code:
    http://www.ezrss.it/search/?mode=rss&show_name=[COLOR="Red"][show name][/COLOR]&season=[COLOR="Red"][season][/COLOR]&episode=[COLOR="Red"][episode][/COLOR]

    As far as I know the RSS is as up to date as the twitter feed.
     

    Users who are viewing this thread

    Top Bottom