lazyad 0.0.55__tar.gz → 0.0.56__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.55 → lazyad-0.0.56}/PKG-INFO +1 -1
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/crawlers/mintegral.py +14 -2
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad.egg-info/PKG-INFO +1 -1
- {lazyad-0.0.55 → lazyad-0.0.56}/setup.py +1 -1
- {lazyad-0.0.55 → lazyad-0.0.56}/README.md +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/__init__.py +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/crawlers/__init__.py +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/crawlers/chuangliang.py +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/crawlers/oceanengine.py +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/crawlers/qq.py +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/open/__init__.py +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/open/kuaishou.py +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/open/mintegral.py +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/open/qq.py +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad/open/unity.py +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad.egg-info/SOURCES.txt +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad.egg-info/dependency_links.txt +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad.egg-info/requires.txt +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/lazyad.egg-info/top_level.txt +0 -0
- {lazyad-0.0.55 → lazyad-0.0.56}/setup.cfg +0 -0
|
@@ -49,7 +49,8 @@ def auth(
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
def options(
|
|
52
|
-
cookie: str
|
|
52
|
+
cookie: str,
|
|
53
|
+
query: list = None
|
|
53
54
|
):
|
|
54
55
|
"""
|
|
55
56
|
获取系统的基本选项
|
|
@@ -68,8 +69,19 @@ def options(
|
|
|
68
69
|
scheme = "https"
|
|
69
70
|
host = "ss-api.mintegral.com"
|
|
70
71
|
filename = "/api/v1/options/_batch"
|
|
72
|
+
if not query:
|
|
73
|
+
query = [
|
|
74
|
+
"offer",
|
|
75
|
+
"campaign",
|
|
76
|
+
"offer-status",
|
|
77
|
+
"billing-type",
|
|
78
|
+
"country",
|
|
79
|
+
"timezone",
|
|
80
|
+
"country-region-city",
|
|
81
|
+
"bid-type"
|
|
82
|
+
]
|
|
71
83
|
params = {
|
|
72
|
-
"query": "
|
|
84
|
+
"query": ",".join(query)
|
|
73
85
|
}
|
|
74
86
|
url = f"{scheme}://{host}{filename}"
|
|
75
87
|
headers = copy.deepcopy(default_headers)
|
|
@@ -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.56",
|
|
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
|