Re: OnlineVideos 0.30 (02.06.2011)
fixed version of parser for ex.ua
fixed version of parser for ex.ua
Code:
<Site name="EX.ua" util="GenericSite" agecheck="false" enabled="true" lang="--" lastUpdated="2011-06-20">
<Description>Completely Free File Hosting for files exchange with online watch service.
These RegExps can parse links to video files prepared for online watch.
Videos available in several languagues, but mostly in Russian and Ukrainian.
Site limitations:
- no solid structure; no alphabetical sorting - use search and next/prev. links;
- not all of the uploaded video currently available as FLV streams;
- description, video format and quality are up to uploader only;
- no child protection.
Plugin/regexps limitations:
- cannot parse subcategories inside another subcategory; use search or make a copy with BaseUrl changed to one level down to get there, for example to Polish part of the site;
- intentionally does not parse links to files not available as FLV streams to avoid MP freezes; but it's easy to try that by changing the VideoList regexp to something like <a\shref='/get/(?<m0>\d{1,9})'\stitle='(?<n0>[^']*)'
</Description>
<Configuration>
<item key="dynamicCategoriesRegEx"><![CDATA[<a\shref='(?<url>/view/\d{1,8})(?:\?r=[^']+)?'><b>(?<title>[^<]*)</b></a>]]></item>
<item key="dynamicCategoryUrlFormatString"><![CDATA[http://www.ex.ua{0}?v=1%2C1]]></item>
<item key="dynamicSubCategoriesRegEx"><![CDATA[<a\shref='(?<url>/view/\d{1,8})(?:\?r=[^']+)?'><b>(?<title>[^<]*)</b></a>]]></item>
<item key="dynamicSubCategoryUrlFormatString"><![CDATA[http://www.ex.ua{0}?per=100&v=1%2C0]]></item>
<item key="videoListRegEx"><![CDATA[<img\ssrc='(?<ImageUrl>(?!/t2/|/i/)[^']+)'.*?<a\shref='(?<VideoUrl>/view/\d{1,8})(?:\?r=[^']+)?'><b>(?<Title>[^<]*)</b></a>.*?<\/small><p>(?<Description>.*?)(?:<p> <\/td>|<p><a\shref=)]]></item>
<item key="videoListRegExFormatString"><![CDATA[http://www.ex.ua{0}]]></item>
<item key="nextPageRegEx"><![CDATA[id="browse_next"\shref="(?<url>[^"]*)"]]></item>
<item key="nextPageRegExUrlFormatString"><![CDATA[http://www.ex.ua{0}&per=100&v=1%2C0]]></item>
<item key="prevPageRegEx"><![CDATA[id="browse_prev"\shref="(?<url>[^"]*)"]]></item>
<item key="prevPageRegExUrlFormatString"><![CDATA[http://www.ex.ua{0}&per=100&v=1%2C0]]></item>
<item key="fileUrlRegEx"><![CDATA[\s"url":\s"http://(?<m0>[^/]*)/show/(?<m1>[^/]*)/(?<m2>[^\.]*)\.flv"(?=.+?\k<m1>'\stitle='(?<n0>[^']+)')]]></item>
<item key="fileUrlFormatString"><![CDATA[http://{0}/show/{1}/{2}.flv]]></item>
<item key="searchUrl"><![CDATA[http://www.ex.ua/search?s={0}]]></item>
<item key="baseUrl"><![CDATA[http://www.ex.ua/view/81708]]></item>
<item key="forceUTF8Encoding"><![CDATA[True]]></item>
</Configuration>
<Categories />
</Site>