<?xml version="1.0" encoding="utf-8"?>
<parser delay="1500" crpj="true" date="2020.06.19">
    <url><![CDATA[https?://(?:www\.)?wotvb\.com/play/(?<id>[^.]+)\.html?]]></url>
    <title><![CDATA[title:"([^"]+)"]]></title>
    <thumbnail><![CDATA[]]></thumbnail>
    <duration><![CDATA[]]></duration>
    <mediaUrl><![CDATA[cr_video_url=([^\$]+)]]></mediaUrl>
    <jsCode><![CDATA[
        try {
            var title = document.title.replace('_高清在线观看-港剧联盟', '');
            var video_url = window.location.href;
            if (document.getElementsByTagName('iframe').length != 0) {
                html = document.getElementsByTagName('iframe')[0].contentDocument.body.innerHTML;
                video_url = unescape(html.match(/\"url\":\"([^\"]+)/)[1]);
            }
            document.body.innerHTML = 'title:\"' + title + '\",cr_video_url=' + video_url + '$';
        }
        catch (ex) {
        }
    ]]></jsCode>
</parser>