Update DataClass.py, GetArc_Ehentai.py, and 7 more files...

데이터 클래스 정의, 퍼필 다운로더 json 파서...
This commit is contained in:
2024-05-13 21:48:40 +09:00
parent cc02151899
commit e9f8a7323c
9 changed files with 762 additions and 218 deletions

View File

@@ -6,10 +6,9 @@ from selenium.common.exceptions import TimeoutException
from bs4 import BeautifulSoup
import UtilPack as util
import DataClass as info
listResult = []
#
def GetSearchResult(searchWord):
url = getSiteUrl(searchWord)
@@ -35,6 +34,14 @@ def GetSearchResult(searchWord):
parseMangaInfos(strContent)
pass
def GetGalInfoFromID(gal_id):
#익헨은 https://koromo.xyz/api/search/ehash?id=번호 로 검색해서 토큰값 얻은 다음에
#https://exhentai.org/g/번호/토큰
#https://e-hentai.org/api/search/ehash?id=2890782
pass
#
def getSiteUrl(searchWord):
@@ -56,7 +63,6 @@ def parseMangaInfos(html_doc):
gl1cParse(gl)
gl2cParse(gl)
gl3cParse(gl)
print("\r\n")
# type