小黄书-视频
https://xchina.co/videos.html
分享者: ixiaoxu_111 (3888)发布时间: 2024/11/13
挂梯使用,裸连大概率连不上。
{
"articleStyle": 2,
"customOrder": 0,
"enableJs": false,
"enabled": true,
"enabledCookieJar": true,
"header": "{\n \"Referer\":\"https:\/\/xchina.co\",\n \"User-Agent\":\"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/130.0.0.0 Safari\/537.36 Edg\/130.0.0.0\",\n \"Origin\":\"https:\/\/xchina.co\"\n}",
"lastUpdateTime": 0,
"loadWithBaseUrl": true,
"loginUrl": "https:\/\/xchina.co\/login.html",
"ruleArticles": "class.videos@class.item",
"ruleContent": "<!DOCTYPE html>\n<html>\n <head>\n <meta\n name=\"viewport\"\n content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0\"\n \/>\n <link\n rel=\"stylesheet\"\n href=\"https:\/\/cdn.bootcdn.net\/ajax\/libs\/viewerjs\/1.10.1\/viewer.min.css\"\n \/>\n <script src=\"https:\/\/cdn.bootcdn.net\/ajax\/libs\/viewerjs\/1.10.1\/viewer.min.js\"><\/script>\n <script src=\"http:\/\/lib.sinaapp.com\/js\/jquery\/2.0.2\/jquery-2.0.2.min.js\"><\/script>\n <script src=\"https:\/\/cdn.jsdelivr.net\/hls.js\/latest\/hls.min.js\"><\/script>\n <script src=\"https:\/\/xchina.co\/scripts\/my_49.js\"><\/script>\n <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/hls.js@latest\"><\/script>\n {{@@class.main@tag.script.1@html}}\n <\/head>\n\n <body>\n <div id=\"div_video\">\n <video id=\"video_player\" width=\"100%\" controls src=\"\"><\/video>\n <\/div>\n\n <template id=\"urlData\"> {{@@class.body@tag.script.0@html}} <\/template>\n <template id=\"video_poster\"> {{@@tag.video@poster}} <\/template>\n\n <script>\n var templateContent = document.getElementById(\"urlData\").innerHTML;\n var m3u8Url = templateContent.split(\"'\")[3];\n var m3u8Img = templateContent.split(\"'\")[5];\n var $player = $(\"video\");\n $player.attr(\"poster\", m3u8Img);\n \/\/ 检查HLS.js是否支持当前浏览器\n if (Hls.isSupported()) {\n \/\/ 创建一个HLS实例\n const hls = new Hls();\n \/\/ 设置自定义请求头\n hls.xhrSetup = (xhr, url) => {\n xhr.setRequestHeader(\"Host\", \"s2.playhls.com\");\n };\n\n hls.loadSource(m3u8Url);\n\n hls.attachMedia(document.getElementById(\"video_player\"));\n\n hls.on(Hls.Events.MANIFEST_PARSED, () => {\n document.getElementById(\"video_player\").play();\n });\n } else {\n console.error(\"当前浏览器不支持HLS.js\");\n }\n <\/script>\n <\/body>\n<\/html>\n",
"ruleDescription": "",
"ruleImage": "@tag.a.0@tag.div@data-poster",
"ruleLink": "@tag.a.0@href",
"ruleNextPage": "class.pager.0@class.next@href",
"rulePubDate": "class.tag@class.duration@text",
"ruleTitle": "class.text@tag.a@text",
"singleUrl": false,
"sortUrl": "搜索::https:\/\/xchina.co\/videos\/keyword-{{(source.getVariable()==''||source.getVariable()==null)?source.setVariable('糖心'):source.getVariable()}}\/{{page}}.html\n中文AV::https:\/\/xchina.co\/videos\/series-63824a975d8ae.html\n日本AV::https:\/\/xchina.co\/videos\/series-6206216719462.html\n模特私拍::https:\/\/xchina.co\/videos\/series-6030196781d85.html\n业余拍摄::https:\/\/xchina.co\/videos\/series-617d3e7acdcc8.html\n情色电影::https:\/\/xchina.co\/videos\/series-61c4d9b653b6d.html\n其他影片::https:\/\/xchina.co\/videos\/series-60192e83c9e05.html\n",
"sourceComment": "挂梯使用,裸连大概率连不上。",
"sourceIcon": "https:\/\/p3-search.byteimg.com\/obj\/labis\/0a5502af6b95a6b49d3acd488aae8398",
"sourceName": "小黄书-视频",
"sourceUrl": "https:\/\/xchina.co\/videos.html",
"style": "#div_video {\n display: block;\n margin-bottom:10px;\n}"
}