feat: add abstract api client to all platform

This commit is contained in:
Relakkes
2024-03-30 21:27:25 +08:00
parent 67ec49498a
commit e950e0d6e3
6 changed files with 24 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ import execjs
import httpx
from playwright.async_api import BrowserContext, Page
from base.base_crawler import AbstactApiClient
from tools import utils
from var import request_keyword_var
@@ -14,7 +15,7 @@ from .exception import *
from .field import *
class DOUYINClient:
class DOUYINClient(AbstactApiClient):
def __init__(
self,
timeout=30,