代码拉取完成,页面将自动刷新
from App.db import RedisModel
def tasks():
return [
{"key":"sanchongmen","value":"http://3chongmen.com"},
{"key":"xihuan","value":"https://www.59xihuan.cn"},
{"key":"haha56","value":"http://www.haha56.net/joke_top.htm"},
{"key":"cctv:start_urls","value":"http://ivi.bupt.edu.cn"},
{"key":"kaixin100:start_urls","value":"http://kaixin100.com"},
{"key":"xiaohuaji:start_urls","value":"http://mfj726.com"},
{"key":"hxqba_joke","value":"https://www.hxqba.com/"},
{"key":"kxxh_joke","value":"http://368m.com/"},
{"key":"wxiaohua_joke","value":"http://www.wxiaohua.com/"},
{"key":"wyl.cc","value":"http://wyl.cc"},
{"key":"xiaohuaji","value":"http://mfj726.com/"},
{"key":"xiaohuawo","value":"http://www.xiaohuawo.com/joke_top.htm"},
{"key":"xuexila_joke","value":"https://www.xuexila.com/duanzi/duanzijingxuan/"},
{"key":"zjzhangui","value":"http://www.zjzhangui.com"},
{"key":"shuoshuo_joke","value":"http://shuoshuo9.com"},
{"key":"shuoshuokong_joke","value":"http://shuoshuokong.com"},
{"key":"gexingshuo_joke","value":"http://gexingshuo.com/"},
{"key":"xiaogushi_joke","value":"http://xigushi.com/"},
{"key":"xiaole_joke","value":"http://xiaole8.com/"},
{"key":"juzidaquan_joke","value":"http://www.818rmb.com/"},
{"key":"guaze_joke","value":"http://guaze.com/"},
{"key":"guaze_joke","value":"http://guaze.com/"},
{"key":"rensheng5_joke","value":"http://rensheng4.com/"},
{"key":"yuludaquan_joke","value":"http://sjhtbj.com/"},
{"key":"pipixiawang_joke","value":"https://www.pipixiawang.com"},
{"key":"meiwen_joke","value":"http://meiwen.com.cn/"},
{"key":"yulujun_joke","value":"http://meiwen.com.cn/"},
# 7-29
{"key":"sayqing_joke","value":"http://sayqing.com/"},
{"key":"zuoyouming_joke","value":"http://zuoyouming.cc/"},
{"key":"shuoshuoyuan_joke","value":"http://cnteb.com/"},
{"key":"bueryulu_joke","value":"http://yulujun.com/"},
{"key":"smthq_joke","value":"http://smthq.com/"},
# 7-30
{"key":"woyaoshuoshuo_joke","value":"http://woyaoshuoshuo.com/"},
{"key":"lzttk_joke","value":"http://lzttk.com/"},
{"key":"baizhiniao_joke","value":"http://baizhiniao.cn/"},
{"key":"baizhiniao_yulu_joke","value":"http://baizhiniao.com/"},
{"key":"haiyangniao_joke","value":"http://haiyangniao.com/"},
{"key":"xmjxjn_joke","value":"http://xmjxjn.net/"},
{"key":"xmjxjn_joke","value":"http://erpuc.com/"},
{"key":"lzrsb_joke","value":"http://lzrsb.com/"},
{"key":"fflzw_joke","value":"http://fflzw.com/"},
{"key":"qinggangu_joke","value":"http://qinggangu.com/"},
{"key":"penhen_joke","value":"http://penhen.com/"},
{"key":"penhen_joke","value":"http://nichenggu.com/"},
{"key":"wencaigu_joke","value":"http://wencaigu.com/"},
{"key":"lunsui_joke","value":"http://lunsui.com/"},
{"key":"rijifan_joke","value":"http://rijifan.com/"},
{"key":"wwlzw_joke","value":"http://wwlzw.com/"},
{"key":"wenyugu_joke","value":"http://wenyugu.com/"},
{"key":"caimigu_joke","value":"http://caimigu.com/"},
{"key":"yiqig_joke","value":"http://www.yiqig.com/"},
# 7-31
{"key": "qingshumi_joke", "value": "http://www.qingshumi.com/"},
{"key": "aishuoshuo_joke", "value": "http://www.aishuoshuo.com/"},
{"key": "juzifang_joke", "value": "http://www.juzifang.com/"},
{"key": "juzifang_joke", "value": "http://www.shuoshuowenzi.com/"},
# {"key": "dedeniao_joke", "value": "http://www.dedeniao.cn/"},
# {"key":"tiankong_video:start_urls","value":"https://api.tiankongapi.com/api.php/provide/vod/?ac=videolist"},
{"key":"a7777688","value":"http://m.7777688.com/inc/api.php?ac=list"},
{"key":"apihjzy","value":"https://apihjzy.com/api.php/provide/vod/?ac=list"},
{"key":"jialiapi.com","value":"https://jialiapi.com/api.php/provide/vod/?ac=list"},
{"key":"paotai.com","value":"http://ptcj.ptzycj.com/api.php/provide/vod/?ac=list"},
{"key":"lbapi9.com","value":"https://lbapi9.com/api.php/provide/vod/at/json/?ac=list"},
{"key":"qiezizy8.com","value":"http://www.qiezizy8.com/api.php/provide/vod/?ac=list"},
{"key":"shayuapi.com","value":"https://shayuapi.com/api.php/provide/vod/?ac=list"},
{"key":"cjmygzy","value":"http://cjmygzy.com/inc/api.php?ac=list"},
{"key":"fqzy","value":"http://api.fqzy.cc/api.php/provide/vod/?ac=list"},
{"key":"sscj8","value":"http://sscj8.com/inc/jsonsapi.php?ac=list"},
{"key":"bttcj","value":"http://bttcj.com/inc/jsonsapi.php?ac=list"},
{"key":"f2dcj6","value":"http://f2dcj6.com/sapi/json?ac=list"},
{"key":"zywcj","value":"http://99zywcj.com/inc/jsonsapi.php?ac=list"},
{"key":"zmcj88","value":"http://zmcj88.com/sapi/json?ac=list"},
{"key":"wmcj8","value":"http://zmcj88.com/sapi/json?ac=list"},
# 10-11
{"key":"duobike_joke","value":"http://dopic.net/"},
{"key":"tantan_video","value":"https://apittzy.com/api.php/provide/vod/?ac=list"},
{"key":"taose_video","value":"https://api.taoseapi.com/api.php/provide/vod/?ac=list"},
{"key":"9987_video","value":"https://www.qbzyz.com/api.php/provide/vod/?ac=list"},
{"key":"cangtain_video","value":"http://cj.cangtiancj.com/api.php/provide/vod/at/xml"},
# 11-2
{"key":"msnii_video","value":"https://www.msnii.com/api/json.php?ac=list"},
{"key":"xrbsp_video","value":"https://www.xrbsp.com/api/json.php?ac=list"},
{"key":"gdlsp_video","value":"https://www.gdlsp.com/api/json.php?ac=list"},
{"key":"kxgav_video","value":"https://www.kxgav.com/api/json.php?ac=list"},
{"key":"pgxdy_video","value":"https://www.pgxdy.com/api/json.php?ac=list"},
]
def start():
redis = RedisModel()
for item in tasks():
redis.model().lpush(item["key"],item["value"])
print("任务创建成功!")
if __name__ == '__main__':
start()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。