lazyad 0.0.55__py3-none-any.whl → 0.0.56__py3-none-any.whl
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/crawlers/mintegral.py +14 -2
- {lazyad-0.0.55.dist-info → lazyad-0.0.56.dist-info}/METADATA +1 -1
- {lazyad-0.0.55.dist-info → lazyad-0.0.56.dist-info}/RECORD +5 -5
- {lazyad-0.0.55.dist-info → lazyad-0.0.56.dist-info}/WHEEL +0 -0
- {lazyad-0.0.55.dist-info → lazyad-0.0.56.dist-info}/top_level.txt +0 -0
lazyad/crawlers/mintegral.py
CHANGED
|
@@ -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)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
lazyad/__init__.py,sha256=tnVTFEgdzgMWQI0mZqy3DAueMJjpypPb15DdxJ-9TiU,41
|
|
2
2
|
lazyad/crawlers/__init__.py,sha256=GK3GGpiUJbESc1uGTwSmEnsSUwYDNZfJCxeLYB4CpS4,68
|
|
3
3
|
lazyad/crawlers/chuangliang.py,sha256=nU57GkUGAXcu8TquqB9hg8Ysvl5E3ZlGX6pedj_nIwo,24830
|
|
4
|
-
lazyad/crawlers/mintegral.py,sha256=
|
|
4
|
+
lazyad/crawlers/mintegral.py,sha256=awhS2yb48nh5f_yENyUy_vsleuMivrBsYbqrM7eS2jM,9622
|
|
5
5
|
lazyad/crawlers/oceanengine.py,sha256=kjBEpCb_h5OpodCTqzvXd5MBBwAuw3Oq5UKWoTCXrQM,4540
|
|
6
6
|
lazyad/crawlers/qq.py,sha256=X_VjdgzAcDfckEAHrvdqBLtnmAuCBHPJVWu2H-IHZBA,5649
|
|
7
7
|
lazyad/open/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -9,7 +9,7 @@ lazyad/open/kuaishou.py,sha256=B4wz3XW1hLQy7XR_nDQwrMUrYnm9Djec7OXKXRdiYXc,635
|
|
|
9
9
|
lazyad/open/mintegral.py,sha256=BXCaCfnz2iUsR-RtDSA8I27KSK8r4v3xkZfllD9q_vY,12788
|
|
10
10
|
lazyad/open/qq.py,sha256=pru1p4LCjURD9N5ukx-OStYAmDCvrTW4VMB2N0-3i5Q,6904
|
|
11
11
|
lazyad/open/unity.py,sha256=A0tEN5k40xq0v1cRnTLwRN5N7CBIe2oAyMRH1uxDAEw,8493
|
|
12
|
-
lazyad-0.0.
|
|
13
|
-
lazyad-0.0.
|
|
14
|
-
lazyad-0.0.
|
|
15
|
-
lazyad-0.0.
|
|
12
|
+
lazyad-0.0.56.dist-info/METADATA,sha256=fOtgXvCEZT7MuHTO-KNw08qbOIFwtf0ITtjtzsEAPRs,1918
|
|
13
|
+
lazyad-0.0.56.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
14
|
+
lazyad-0.0.56.dist-info/top_level.txt,sha256=RAPjtj4gZYpsKAM3fAQrWyyn84xjdRuaiUS76gx6eNs,7
|
|
15
|
+
lazyad-0.0.56.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|