lazyad 0.0.58__tar.gz → 0.0.59__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lazyad might be problematic. Click here for more details.
- {lazyad-0.0.58 → lazyad-0.0.59}/PKG-INFO +1 -1
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/crawlers/chuangliang.py +3 -2
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad.egg-info/PKG-INFO +1 -1
- {lazyad-0.0.58 → lazyad-0.0.59}/setup.py +1 -1
- {lazyad-0.0.58 → lazyad-0.0.59}/README.md +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/__init__.py +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/crawlers/__init__.py +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/crawlers/mintegral.py +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/crawlers/oceanengine.py +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/crawlers/qq.py +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/open/__init__.py +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/open/kuaishou.py +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/open/mintegral.py +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/open/qq.py +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad/open/unity.py +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad.egg-info/SOURCES.txt +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad.egg-info/dependency_links.txt +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad.egg-info/requires.txt +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/lazyad.egg-info/top_level.txt +0 -0
- {lazyad-0.0.58 → lazyad-0.0.59}/setup.cfg +0 -0
|
@@ -19,6 +19,7 @@ default_headers = {
|
|
|
19
19
|
"TE": "trailers",
|
|
20
20
|
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0",
|
|
21
21
|
}
|
|
22
|
+
default_host = "cli2.mobgi.com"
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
def get_media_account(
|
|
@@ -840,7 +841,7 @@ def get_project_report(
|
|
|
840
841
|
def get_material_detail(
|
|
841
842
|
cookie: str,
|
|
842
843
|
material_id: str,
|
|
843
|
-
host: str =
|
|
844
|
+
host: str = default_host
|
|
844
845
|
):
|
|
845
846
|
"""
|
|
846
847
|
获取素材详情
|
|
@@ -870,7 +871,7 @@ def deactivate_material(
|
|
|
870
871
|
is_deactivate: int,
|
|
871
872
|
material_id: str = None,
|
|
872
873
|
material_ids: list = None,
|
|
873
|
-
host: str =
|
|
874
|
+
host: str = default_host
|
|
874
875
|
):
|
|
875
876
|
"""
|
|
876
877
|
启用/禁用素材
|
|
@@ -13,7 +13,7 @@ with open("README.md", "r", encoding='utf-8') as fh:
|
|
|
13
13
|
|
|
14
14
|
setuptools.setup(
|
|
15
15
|
name="lazyad",
|
|
16
|
-
version="0.0.
|
|
16
|
+
version="0.0.59",
|
|
17
17
|
description="基于Python的懒人包-适用于广告投放模块",
|
|
18
18
|
long_description=long_description,
|
|
19
19
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|