1234567891011121314151617181920212223 |
- # -*- coding: utf-8 -*-
- """
- Created on 2025-04-08
- ---------
- @summary: 采集工具
- ---------
- @author: Dzr
- """
- import re
- import execjs
- jst = re.compile("javascript:todetail\('(.*?)'", flags=re.S)
- jsd = re.compile("javascript:toGetContent\('(.*?)'", flags=re.S)
- numb = re.compile(",'(.*?)'", flags=re.S)
- def get_ck():
- with open('./zghdjtgsdzswpt.js', 'r') as fr:
- ex_js = fr.read()
- ctx = execjs.compile(ex_js)
- return ctx.call('create_ck')
|