<?xml version="1.0" encoding="utf-8"?>
<parser delay="1500" crpj="true" date="2021.02.21">
    <url><![CDATA[view\.inews\.qq\.com/\w+/(?<id>[^\?.]+)]]></url>
    <title><![CDATA[title="([^"]+)"]]></title>
    <thumbnail><![CDATA[thumbnail=([^,]+)]]></thumbnail>
    <duration><![CDATA[]]></duration>
    <mediaUrl><![CDATA[cr_video_url=([^\$]+)]]></mediaUrl>
    <jsCode><![CDATA[
        try {
            //https://view.inews.qq.com/a/20200903V0E2J900?uid=&devid=4DADAD38-B21D-4FC6-8842-2531537B7F55&qimei=5768a9fa-86fe-42b0-9614-93e53ca1b882
            //https://view.inews.qq.com/a/20210221V09X5G00?tbkt=D&uid=
            var title = window.initData ? window.initData.content.title : document.title;
            var thumbnail = window.initData ? window.initData.content.imgurl : '';
            var video_url = window.initData ? 'https://v.qq.com/x/page/' + window.initData.content.vid + '.html#ra' : window.location.href;
            document.body.innerHTML = 'title=\"' + title + '\",thumbnail=' + thumbnail + ',cr_video_url=' + video_url + '$';
        }
        catch (ex) {
        }
    ]]></jsCode>
</parser>