This commit is contained in:
caiwx86 2023-01-09 19:58:36 +08:00
parent 0d8bdb5b46
commit 8e6efe7c10

View File

@ -2,23 +2,15 @@ from fake_useragent import UserAgent
import requests,os,json
from lxml import html
import traceback
import time
import time,re
from urllib3.util.retry import Retry
from requests.adapters import HTTPAdapter
from myran import Myran
from utils.Ntfy import ntfy
import re
from utils.comic.PathStr import pathStr
class htmlUtils:
myran = Myran()
headers = {
#'cookie':'ipcountry=US; AVS=4eb0s4o5ho9hfmp704ge7jtium; ipm5=bb7f6ac39cebfa37e89bd07544c549fd; cover=1; guide=1; __atuvc=12|39,31|40,5|41,0|42,4|43; __atuvs=635cabf67eff0d49003; yuo1={"objName":"hT3l8Pyn15Uf","request_id":0,"zones":[{"idzone":"2967008","here":{}},{"idzone":"2967010","here":{}},{"idzone":"2967010","here":{}},{"idzone":"3597795","sub":"70","here":{}}]}',
#'referer': 'https://18comic.org/',
"User_Agent": myran.agents()
}
# headers = {'User-Agent': UserAgent().random}
headers = {'User-Agent': UserAgent().random}
url_data = {}
@classmethod