<?xml version="1.0" encoding="utf-8"?>
<parser delay="500" date="2020.02.12">
    <url><![CDATA[https?://(?:www\.)?thailianwang\.com/\w+/m(?<id>[^/]+)]]></url>
    <title><![CDATA[thread_subject">([^<]+)</span>]]></title>
    <thumbnail><![CDATA[file="([^"]+)"]]></thumbnail>
    <duration><![CDATA[]]></duration>
    <mediaUrl><![CDATA[cr_video_url=([^\$]+)]]></mediaUrl>
    <jsCode><![CDATA[
        try {
            document.body.innerHTML = document.body.innerHTML.replace('file=\"', 'file=\"http://www.thailianwang.com/');
            video_url = document.body.innerHTML.match(/=(http.*?m3u8)/)[1];
            document.body.innerHTML = 'cr_video_url=' + video_url + '$' + document.body.innerHTML;
        }
        catch (ex) {
        }
    ]]></jsCode>
</parser>