<?xml version="1.0" encoding="utf-8"?>
<parser delay="7500" crpj="true" date="2021.03.12">
    <url><![CDATA[https?://(?:www\.)?pexels\.com/(?:[^/]+/)?video/(?<id>[^/]+)]]></url>
    <title><![CDATA["name":"([^"]+)"]]></title>
    <thumbnail><![CDATA["thumbnailUrl":"([^"]+)"]]></thumbnail>
    <duration><![CDATA["duration":"([^"]+)"]]></duration>
    <mediaUrl><![CDATA["contentUrl":"([^"]+?)"]]></mediaUrl>
    <jsCode><![CDATA[
        try {
            //https://www.pexels.com/zh-cn/video/3327617/
            if (document.getElementsByTagName('video').length == 0) {
                var headers = 'User-Agent: ' + navigator.userAgent + '\r\nCookie: ' + document.cookie;
                document.body.innerHTML = window.external.getHtmlCodeEx(window.location.href, headers);
            }
        }
        catch (ex) {
        }
    ]]></jsCode>
</parser>