home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
[Solved] Video Mediaset new website
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="cecet23" data-source="post: 990383" data-attributes="member: 89784"><p>Hi folks,</p><p>I created my first site parser for video mediaset, it's a beta, here the code:</p><p> </p><p>[CODE=XML]<Site name="Video Mediaset" util="GenericSite" agecheck="false" enabled="true" lang="it"></p><p> <Configuration></p><p> <item key="dynamicSubCategoriesNextPageRegEx"><![CDATA[<a\stitle="Vai\salla\spagina\ssuccessiva"\shref="(?<url>[^"]*)">&raquo;</a>]]></item></p><p> <item key="videoListRegEx"><![CDATA[<a\stitle="(?<Title>[^"]*)"\shref="(?<VideoUrl>[^"]*)"\srel="nofollow"><img\salt="(?<Description>[^"]*)"\ssrc="(?<ImageUrl>[^"]*)"></a>]]></item></p><p> <item key="nextPageRegEx"><![CDATA[<a\stitle="Vai\salla\spagina\ssuccessiva"\shref="(?<url>[^"]*)">&raquo;</a>]]></item></p><p> <item key="playlistUrlRegEx"><![CDATA[var\svideoMetadataId\s=\s'(?<url>[^']*)';]]></item></p><p> <item key="playlistUrlFormatString"><![CDATA[http://lazzavd.byethost11.com/script/vd.php?id={0}]]></item></p><p> <item key="fileUrlRegEx"><![CDATA[<video\ssrc="(?<m0>[^"]*\.(?<n0>[mp4]*))"/>|<video\ssrc="(?<m0>[^"]*\.(?<n0>[wmv]*))"/>]]></item></p><p> </Configuration></p><p> <Categories></p><p> <Category xsi:type="RssLink" name="Puntate Intere">http://www.video.mediaset.it/puntate-intere/puntate-intere.shtml</Category></p><p> <Category xsi:type="RssLink" name="Clip Intrattenimento">http://www.video.mediaset.it/clip/intrattenimento.shtml</Category></p><p> <Category xsi:type="RssLink" name="Clip News">http://www.video.mediaset.it/clip/news.shtml</Category></p><p> <Category xsi:type="RssLink" name="Clip Sport">http://www.video.mediaset.it/clip/sport.shtml</Category></p><p> <Category xsi:type="RssLink" name="Più visti di ieri">http://www.video.mediaset.it/piu-visti/piuvisti-ieri.shtml</Category></p><p> <Category xsi:type="RssLink" name="Più visti della settimana">http://www.video.mediaset.it/piu-visti/piuvisti-settimana.shtml</Category></p><p> <Category xsi:type="RssLink" name="Più visti del mese">http://www.video.mediaset.it/piu-visti/piuvisti-mese.shtml</Category></p><p> </Categories></p><p></Site>[/CODE]</p><p> </p><p>It works but I need your help.</p><p>In some pages part of the html source code is hidden probably because generated by javascript at run time, than I'm not able to get the list of videos.</p><p>Some example:</p><p><a href="http://www.video.mediaset.it/programma/motogp/archivio-video.shtml" target="_blank">http://www.video.mediaset.it/programma/motogp/archivio-video.shtml</a></p><p>or</p><p><a href="http://www.video.mediaset.it/programma/superbike/archivio-video.shtml" target="_blank">http://www.video.mediaset.it/programma/superbike/archivio-video.shtml</a></p><p> </p><p>and in all pages where there are a combobox. In the search link as well:</p><p><a href="http://www.video.mediaset.it/ricerca/ricerca.shtml?q=iene" target="_blank">http://www.video.mediaset.it/ricerca/ricerca.shtml?q=</a>{0}, for example:</p><p><a href="http://www.video.mediaset.it/ricerca/ricerca.shtml?q=iene" target="_blank">http://www.video.mediaset.it/ricerca/ricerca.shtml?q=iene</a></p><p> </p><p>All suggestions will really appreciated, otherwise I have to think to write a siteutil in c#.</p><p> </p><p>Thank you and enjoy with the first part of video mediaset.</p></blockquote><p></p>
[QUOTE="cecet23, post: 990383, member: 89784"] Hi folks, I created my first site parser for video mediaset, it's a beta, here the code: [CODE=XML]<Site name="Video Mediaset" util="GenericSite" agecheck="false" enabled="true" lang="it"> <Configuration> <item key="dynamicSubCategoriesNextPageRegEx"><![CDATA[<a\stitle="Vai\salla\spagina\ssuccessiva"\shref="(?<url>[^"]*)">»</a>]]></item> <item key="videoListRegEx"><![CDATA[<a\stitle="(?<Title>[^"]*)"\shref="(?<VideoUrl>[^"]*)"\srel="nofollow"><img\salt="(?<Description>[^"]*)"\ssrc="(?<ImageUrl>[^"]*)"></a>]]></item> <item key="nextPageRegEx"><![CDATA[<a\stitle="Vai\salla\spagina\ssuccessiva"\shref="(?<url>[^"]*)">»</a>]]></item> <item key="playlistUrlRegEx"><![CDATA[var\svideoMetadataId\s=\s'(?<url>[^']*)';]]></item> <item key="playlistUrlFormatString"><![CDATA[http://lazzavd.byethost11.com/script/vd.php?id={0}]]></item> <item key="fileUrlRegEx"><![CDATA[<video\ssrc="(?<m0>[^"]*\.(?<n0>[mp4]*))"/>|<video\ssrc="(?<m0>[^"]*\.(?<n0>[wmv]*))"/>]]></item> </Configuration> <Categories> <Category xsi:type="RssLink" name="Puntate Intere">http://www.video.mediaset.it/puntate-intere/puntate-intere.shtml</Category> <Category xsi:type="RssLink" name="Clip Intrattenimento">http://www.video.mediaset.it/clip/intrattenimento.shtml</Category> <Category xsi:type="RssLink" name="Clip News">http://www.video.mediaset.it/clip/news.shtml</Category> <Category xsi:type="RssLink" name="Clip Sport">http://www.video.mediaset.it/clip/sport.shtml</Category> <Category xsi:type="RssLink" name="Più visti di ieri">http://www.video.mediaset.it/piu-visti/piuvisti-ieri.shtml</Category> <Category xsi:type="RssLink" name="Più visti della settimana">http://www.video.mediaset.it/piu-visti/piuvisti-settimana.shtml</Category> <Category xsi:type="RssLink" name="Più visti del mese">http://www.video.mediaset.it/piu-visti/piuvisti-mese.shtml</Category> </Categories> </Site>[/CODE] It works but I need your help. In some pages part of the html source code is hidden probably because generated by javascript at run time, than I'm not able to get the list of videos. Some example: [url]http://www.video.mediaset.it/programma/motogp/archivio-video.shtml[/url] or [url]http://www.video.mediaset.it/programma/superbike/archivio-video.shtml[/url] and in all pages where there are a combobox. In the search link as well: [URL='http://www.video.mediaset.it/ricerca/ricerca.shtml?q=iene']http://www.video.mediaset.it/ricerca/ricerca.shtml?q=[/URL]{0}, for example: [url]http://www.video.mediaset.it/ricerca/ricerca.shtml?q=iene[/url] All suggestions will really appreciated, otherwise I have to think to write a siteutil in c#. Thank you and enjoy with the first part of video mediaset. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
[Solved] Video Mediaset new website
Contact us
RSS
Top
Bottom