fix
This commit is contained in:
parent
0d8bdb5b46
commit
8e6efe7c10
@ -2,23 +2,15 @@ from fake_useragent import UserAgent
|
|||||||
import requests,os,json
|
import requests,os,json
|
||||||
from lxml import html
|
from lxml import html
|
||||||
import traceback
|
import traceback
|
||||||
import time
|
import time,re
|
||||||
from urllib3.util.retry import Retry
|
from urllib3.util.retry import Retry
|
||||||
from requests.adapters import HTTPAdapter
|
from requests.adapters import HTTPAdapter
|
||||||
from myran import Myran
|
|
||||||
from utils.Ntfy import ntfy
|
from utils.Ntfy import ntfy
|
||||||
import re
|
|
||||||
from utils.comic.PathStr import pathStr
|
from utils.comic.PathStr import pathStr
|
||||||
|
|
||||||
class htmlUtils:
|
class htmlUtils:
|
||||||
|
|
||||||
myran = Myran()
|
headers = {'User-Agent': UserAgent().random}
|
||||||
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}
|
|
||||||
url_data = {}
|
url_data = {}
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user