<?xml version="1.0" encoding="utf-8"?>
<parser delay="1500" crpj="true" date="2020.03.12">
    <url><![CDATA[https?://(?:www\.)?diyidan\.com/main/post/(?<id>[^/]+)/detail]]></url>
    <title><![CDATA[title="([^"]+)"]]></title>
    <thumbnail><![CDATA[thumbnail=([^,]+)]]></thumbnail>
    <duration><![CDATA[]]></duration>
    <mediaUrl><![CDATA[cr_video_url=([^\$]+)]]></mediaUrl>
    <jsCode><![CDATA[
        try {
            var title = window._bd_share_config.common.bdText;
            var thumbnail = window._bd_share_config.common.bdPic + '!webindex';
            var video_url = document.getElementById('video').src;
            document.body.innerHTML = 'title=\"' + title + '\",thumbnail=' + thumbnail + ',cr_video_url=' + video_url + '$';
        }
        catch (ex) {
        }
    ]]></jsCode>
</parser>