Swedish sites: SVT, TV4, Dplay Premium, UR, Viasat channels + Movie & Series sites | Page 3

Discussion in 'OnlineVideos' started by Ministerk, August 31, 2013.

  1. weekendowel

    weekendowel Portal Member

    Joined:
    September 5, 2005
    Messages:
    31
    Likes Received:
    6
    Location:
    Stockholm
    Ratings:
    +7 / 0
    Home Country:
    Sweden Sweden
    I'm doing it with the generic site creator tool. A util with login would be interesting, I don't know anything about util creation yet... Anyway, this is how far I've come, I found out where to get the file URL and that seems to work ok at the moment, movie starts. It needs to be a bit more polished:

    Code (Text):
    1. <Site name="Swefilmer" util="GenericSite" agecheck="false" enabled="true" lang="sv">
    2.   <Description>Swefilmer</Description>
    3.   <Configuration>
    4.     <item key="dynamicCategoriesRegEx"><![CDATA[<li\sclass=""><a\shref="(?<url>[^"]*)">(?<title>[^<]*)</a>]]></item>
    5.     <item key="videoListRegEx"><![CDATA[<div\sclass="video_i">\s*<a\shref="(?<VideoUrl>[^"]*)">\s*<img\ssrc="(?<ImageUrl>[^"]*)"\salt="(?<Title>[^"]*)"\sclass="imag"\swidth="116"\sheight="87"/><div\sclass="tag"></div>\s*</a>]]></item>
    6.     <item key="playlistUrlRegEx"><![CDATA[</noscript>\s*<iframe\ssrc="(?<url>[^>]*)></iframe>]]></item>
    7.     <item key="fileUrlRegEx"><![CDATA[url360=(?<m0>[^&]*)&amp;url480=(?<m1>[^&]*)&amp;url720=(?<m2>[^&]*)&]]></item>
    8.     <item key="baseUrl"><![CDATA[http://www.swefilmer.com]]></item>
    9.   </Configuration>
    10. </Site>



     
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Ministerk
    • Super User

    Ministerk Super User

    Joined:
    November 28, 2007
    Messages:
    970
    Likes Received:
    401
    Occupation:
    Systems developer
    Location:
    Uppsala
    Ratings:
    +831 / 3
    Home Country:
    Sweden Sweden
    Show System Specs
    Great!

    What happens when the movie does not have all the sources e.g. 720, doesn't the fileUrlRegEx fail? I'm far from an regex expert...
    In dreamfilm I match with url[0-9]+ to get all file urls. But then I don't know how to get all the groups (<m0>...) with the generic site creator tool.

    I haven't tried the site so much, holiday and stuff... + 503 responses all the time. But (y)
     
  4. pnyberg

    pnyberg Portal Pro

    Joined:
    August 21, 2006
    Messages:
    405
    Likes Received:
    18
    Occupation:
    IT professional
    Location:
    Stockholm
    Ratings:
    +19 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Hello ministerk,

    I am not seeing dreamfilm.se in OnlineVides? I have done an update, also reinstalled OnlineVideos but still no go...
    Downloaded MP2 for testing - and there I see dreamfilm.se ?

    Do you have any clue?
     
  5. Ministerk
    • Super User

    Ministerk Super User

    Joined:
    November 28, 2007
    Messages:
    970
    Likes Received:
    401
    Occupation:
    Systems developer
    Location:
    Uppsala
    Ratings:
    +831 / 3
    Home Country:
    Sweden Sweden
    Show System Specs
    Hmm no. If you go to hantera sidor/manage sites (or what it's called, not at computer...), do you see dreamfilm in that list? If so go to that item and select it. Otherwise not a clue;)

    If you go to the install directory of mediaportal an then plugins\window\onlinevideos\ (ish...) and look at the properties for the ministerkrister.dll what version is it. I can later this evening check if you have the latest version.
     
  6. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,773
    Likes Received:
    738
    Location:
    Nuenen
    Ratings:
    +1,090 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    I think you shoud use
    Code (Text):
    1.  
    2. url(?<n0>[^=]+)=(?<m0>[^&]*)&
    3.  
    for the fileurlregex
    that way, you get a nice name in the choice
    The m0..m3 are for different parts to form an url, not for different choices in quality.
     
  7. weekendowel

    weekendowel Portal Member

    Joined:
    September 5, 2005
    Messages:
    31
    Likes Received:
    6
    Location:
    Stockholm
    Ratings:
    +7 / 0
    Home Country:
    Sweden Sweden

    Wonderful! Thanks. I added ; before your code and it works perfectly to choose resolution

    Code (Text):
    1. ;url(?<n0>[^=]+)=(?<m0>[^&]*)&

    Only thing left now is to figure out how to get to the movies that are behind login
     
  8. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,773
    Likes Received:
    738
    Location:
    Nuenen
    Ratings:
    +1,090 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Logins usually require some programming (at least publish the username/password configuration) and try to figure how the login is handled (mostly posting the username+password and receive cookie which must be sent with subsequent requests)
     
  9. weekendowel

    weekendowel Portal Member

    Joined:
    September 5, 2005
    Messages:
    31
    Likes Received:
    6
    Location:
    Stockholm
    Ratings:
    +7 / 0
    Home Country:
    Sweden Sweden
    Last edited: December 23, 2013
  10. weekendowel

    weekendowel Portal Member

    Joined:
    September 5, 2005
    Messages:
    31
    Likes Received:
    6
    Location:
    Stockholm
    Ratings:
    +7 / 0
    Home Country:
    Sweden Sweden
    Ok, here is the final xml for swefilmer:

    Code (Text):
    1. <Site name="Swefilmer" util="GenericSite" agecheck="false" enabled="true" lang="sv">
    2.   <Description>Swefilmer</Description>
    3.   <Configuration>
    4.     <item key="dynamicCategoriesRegEx"><![CDATA[<li\sclass=""><a\shref="(?<url>[^"]*)">(?<title>[^<]*)</a></li>]]></item>
    5.     <item key="videoListRegEx"><![CDATA[<div\sclass="video_i">\s*<a\shref="(?<VideoUrl>[^"]*)">\s*<img\ssrc="(?<ImageUrl>[^"]*)"\salt="(?<Title>[^"]*)"\sclass="imag"\swidth="116"\sheight="87"/><div\sclass="tag"></div>\s*</a>]]></item>
    6.     <item key="nextPageRegEx"><![CDATA[</span><a\shref="(?<url>[^"]*)"]]></item>
    7.     <item key="nextPageRegExUrlFormatString"><![CDATA[http://www.swefilmer.com/{0}]]></item>
    8.     <item key="playlistUrlRegEx"><![CDATA[</noscript>\s*<iframe\ssrc="(?<url>[^>]*)></iframe>]]></item>
    9.     <item key="fileUrlRegEx"><![CDATA[;url(?<n0>[^=]+)=(?<m0>[^&]*)&]]></item>
    10.     <item key="searchUrl"><![CDATA[http://www.swefilmer.com/search.php?keywords={0}]]></item>
    11.     <item key="baseUrl"><![CDATA[http://www.swefilmer.com]]></item>
    12.   </Configuration>
    13. </Site>

    If someone can use this information and create a way to use login credentials then this would be perfect
     
    • Like Like x 1
  11. pnyberg

    pnyberg Portal Pro

    Joined:
    August 21, 2006
    Messages:
    405
    Likes Received:
    18
    Occupation:
    IT professional
    Location:
    Stockholm
    Ratings:
    +19 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    I don't have the dreamfilm site in the onlinevideos config...

    The version of your .dll is 1.0.0.3064.

    Will check what version is in MP2..
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!