<?xml version="1.0" encoding="utf-8"?>
<parser delay="1500" crpj="true" referer="true" date="2020.10.13">
    <url><![CDATA[https?://(?:www\.)?cm\w+5\.com/play/(?<id>[^.]+)\.html?]]></url>
    <title><![CDATA[<a\s+[^>]+>([^<]+)</a></h3>]]></title>
    <thumbnail><![CDATA[data-original="([^"]+)">]]></thumbnail>
    <duration><![CDATA[]]></duration>
    <mediaUrl><![CDATA[<iframe[^>]+src=".*?url=([^"]+)[^>]+allowfullscreen=]]></mediaUrl>
    <jsCode><![CDATA[
        try {
            //https://www.cmcm5.com/play/5374.html?5374-4-3
            var url = document.body.innerHTML.match(/<a\s+href=\"([^\"]+)\">[^<]+<\/a><\/h3>/)[1];
            if (url) {
                url = 'https://www.cmdy5.com' + url;
                var html = window.external.getHtmlCode(url);
                document.body.innerHTML = html + '$' + document.body.innerHTML;
            }
        }
        catch (ex) {
        }
    ]]></jsCode>
</parser>