Support for a site request thread (12 Viewers)

powermarcel10

Retired Team Member
  • Premium Supporter
  • November 30, 2010
    2,836
    899
    37
    Groningen
    Home Country
    Netherlands Netherlands
    Thanks a lot Doskabouter!

    Aaaaah, I didn't know that politiek was inside the nieuws rubriek.. Nice! :)

    And thanks for XDA, really awesome..

    Of the sites I suggestes, www.zie.nl (nu.nl) has for me personal the most priority.. But your the men, so It's up to you! :)
     

    Quarter

    MP Donator
  • Premium Supporter
  • June 21, 2010
    722
    138
    Queenstown
    Home Country
    New Zealand New Zealand
    Can someone help me with this site please, Im a bit stuck

    Code:
    <Site name="Project Free - TV" util="DeferredResolve" agecheck="false" enabled="true" lang="en">
      <Description>Watch all tv series online for FREE</Description>
      <Configuration>
        <item key="dynamicCategoriesRegEx"><![CDATA[<td\swidth="99%"\sclass="mnlcategorylist"><a\shref="(?<url>
     
    [^"]*)"><b>(?<title>[^<]*)</b></a>\s</td>\s*</tr>]]></item>
        <item key="videoListRegEx"><![CDATA[<a\sonclick='[^']*'\shref="(?<VideoUrl>[^"]*)"\starget="_blank">
     
    \s*<div>(?<Title>[^<]*)</div>(?:(?!</span>).)*</span><br/>(?<Description>[^<]*)<br/>(?<Airdate>[^<]*)</span>
     
    \s*</a>]]></item>
        <item key="baseUrl"><![CDATA[http://www.free-tv-video-online.me/internet/]]></item>
      </Configuration>
    </Site>
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,998
    3,763
    Nuenen
    Home Country
    Netherlands Netherlands
    Can someone help me with this site please, Im a bit stuck

    Code:
    <Site name="Project Free - TV" util="DeferredResolve" agecheck="false" enabled="true" lang="en">
      <Description>Watch all tv series online for FREE</Description>
      <Configuration>
        <item key="dynamicCategoriesRegEx"><![CDATA[<td\swidth="99%"\sclass="mnlcategorylist"><a\shref="(?<url>
     
    [^"]*)"><b>(?<title>[^<]*)</b></a>\s</td>\s*</tr>]]></item>
        <item key="videoListRegEx"><![CDATA[<a\sonclick='[^']*'\shref="(?<VideoUrl>[^"]*)"\starget="_blank">
     
    \s*<div>(?<Title>[^<]*)</div>(?:(?!</span>).)*</span><br/>(?<Description>[^<]*)<br/>(?<Airdate>[^<]*)</span>
     
    \s*</a>]]></item>
        <item key="baseUrl"><![CDATA[http://www.free-tv-video-online.me/internet/]]></item>
      </Configuration>
    </Site>

    You're almost there.
    It would need some tweaking of some (putlocker/sockshare) hosters, but my code is not in a stable state right now.
    As a workaround you could add
    Code:
            <item key="fileUrlRegEx"><![CDATA[<iframe\ssrc="(?<m0>.*?)/embed/(?<m1>[^"]*)"]]></item>
            <item key="fileUrlFormatString"><![CDATA[{0}/file/{1}]]></item>
            <item key="resolveHoster"><![CDATA[FromUrl]]></item>
    That will work for sockshare and putlocker, and probably some other, but I'd only test those 2.
     

    cane

    MP Donator
  • Premium Supporter
  • October 20, 2007
    129
    48
    Zagreb
    Home Country
    Croatia Croatia
    Messing around with site creator and trying to make my first site and came to one problem.

    Code:
    <Site name="24 sata TV" util="GenericSite" agecheck="false" enabled="true" lang="please fill">
      <Description>please fill</Description>
      <Configuration>
        <item key="dynamicCategoriesRegEx"><![CDATA[<li>\s*<a\shref="(?<url>[^"]*)">\s*<span\sstyle="background-image:url\('(?<thumb>[^']*)'\);background-size:\s25px\s20px;">(?<title>[^<]*)</span>\s*</a>\s*</li>]]></item>
        <item key="videoListRegEx"><![CDATA[<li\sid="clip_[^"]*"\spindex="[^"]*">\s*<h3>\s*<a\stitle="(?<Title>[^"]*)"\shref="javascript:void\(0\);"\sonclick="play_clip_from_playlist\('clip_(?<VideoUrl>[^']*)'\);">\s*<img\swidth="154"\sheight="103"\salt="[^"]*"\ssrc="(?<ImageUrl>[^"]*)">\s*<span\sclass="play_me">&nbsp;</span>\s*<span\sclass="time">(?<Duration>[^<]*)<span>&nbsp;</span></span>\s*<span>\s*<strong>[^<]*</strong>(?<Description>[^<]*)</span>\s*</a>\s*</h3>\s*<span\sclass="tags"\sstyle="display:block;">(?:(?!<span\sclass="crea).)*<span\sclass="createtime">[^<]*</span>\s*</li>]]></item>
        <item key="baseUrl"><![CDATA[http://www.24sata.tv/]]></item>
      </Configuration>
    </Site>

    Categories successfully added, but in videos came to a problem. I get video URL to be:
    Code:
    http://www.24sata.tv/47377
    but there should be inserted /p/ and ti should be like this:
    Code:
    www.24sata.tv/p/47377/
    Is there a way to add string in middle of VideoUrl using VideoURL Regex?
    Or maybe I'm doing it all the wrong way...
     

    cane

    MP Donator
  • Premium Supporter
  • October 20, 2007
    129
    48
    Zagreb
    Home Country
    Croatia Croatia
    Thanks for replay doskabouter. Yes the first part is always the same.
    My regex returns only 47377, I get it from this part:
    Code:
    onclick="play_clip_from_playlist('clip_47377')
    But when I get video list in video url http://24sata.tv/ is add at beginning and the result is http://24sata.tv/47377
    Don't know how to avoid this string to be added at beginning.
     

    Attachments

    • 24sata01.png
      24sata01.png
      73.5 KB
    • 24sata02.png
      24sata02.png
      59 KB

    Users who are viewing this thread

    Top Bottom