<?xml version="1.0" encoding="utf-8"?>
<parser delay="1500" crpj="true" date="2020.03.29">
    <url><![CDATA[https?://(?:www\.)?dancebook\.com\.cn/videoitem/index/(?<id>[^/]+)]]></url>
    <title><![CDATA[v_title="([^"]+)"]]></title>
    <thumbnail><![CDATA[thumbnail=([^,]+)]]></thumbnail>
    <duration><![CDATA[]]></duration>
    <mediaUrl><![CDATA[cr_video_url=([^\$]+)]]></mediaUrl>
    <jsCode><![CDATA[
        try {
            var title = document.getElementsByTagName('h1')[0].innerText;
            var video_url = flashvars.a;
            var vid = video_url.match(/cn\/([^_]+)/)[1];
            var thumbnail = 'http://qnimage.dancebook.com.cn/' + vid + '_original.jpg';
            document.body.innerHTML = 'v_title=\"' + title + '\",thumbnail=' + thumbnail + ',cr_video_url=' + video_url + '$';
        }
        catch (ex) {
        }
    ]]></jsCode>
</parser>