lazyad 0.0.73__py3-none-any.whl → 0.0.74__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/chuangliang.py +86 -0
- {lazyad-0.0.73.dist-info → lazyad-0.0.74.dist-info}/METADATA +1 -1
- {lazyad-0.0.73.dist-info → lazyad-0.0.74.dist-info}/RECORD +5 -5
- {lazyad-0.0.73.dist-info → lazyad-0.0.74.dist-info}/WHEEL +0 -0
- {lazyad-0.0.73.dist-info → lazyad-0.0.74.dist-info}/top_level.txt +0 -0
lazyad/crawlers/chuangliang.py
CHANGED
|
@@ -1170,6 +1170,92 @@ def MainPanelReport_AdReport_getReport(
|
|
|
1170
1170
|
)
|
|
1171
1171
|
|
|
1172
1172
|
|
|
1173
|
+
def MainPanelReport_AccountReport_getReport(
|
|
1174
|
+
cookie: str,
|
|
1175
|
+
media_type: str,
|
|
1176
|
+
sort_field: str,
|
|
1177
|
+
media_account_id: int = None,
|
|
1178
|
+
page: int = 1,
|
|
1179
|
+
page_size: int = 20,
|
|
1180
|
+
start_date: str = None,
|
|
1181
|
+
end_date: str = None,
|
|
1182
|
+
sort_direction: str = "desc",
|
|
1183
|
+
data_type: str = "list",
|
|
1184
|
+
conditions: dict = None,
|
|
1185
|
+
cdt_start_date: str = None,
|
|
1186
|
+
cdt_end_date: str = None,
|
|
1187
|
+
kpis: list = None,
|
|
1188
|
+
req_source: str = None,
|
|
1189
|
+
|
|
1190
|
+
base_infos: list = None,
|
|
1191
|
+
search_field: str = None,
|
|
1192
|
+
search_keyword: str = None,
|
|
1193
|
+
time_line: str = None,
|
|
1194
|
+
|
|
1195
|
+
scheme: str = "https",
|
|
1196
|
+
host: str = default_host,
|
|
1197
|
+
filename: str = "/MainPanelReport/AccountReport/getReport"
|
|
1198
|
+
):
|
|
1199
|
+
"""
|
|
1200
|
+
推广-广告管理-账户
|
|
1201
|
+
:param cookie:
|
|
1202
|
+
:param media_type:
|
|
1203
|
+
:param media_account_id:
|
|
1204
|
+
:param sort_field: 排序字段
|
|
1205
|
+
:param page:
|
|
1206
|
+
:param page_size:
|
|
1207
|
+
:param start_date: 数据开始日期
|
|
1208
|
+
:param end_date: 数据结束日期
|
|
1209
|
+
:param sort_direction: 排序方式,desc:降序
|
|
1210
|
+
:param data_type:
|
|
1211
|
+
:param conditions: 搜索条件
|
|
1212
|
+
:param cdt_start_date: 创建开始时间
|
|
1213
|
+
:param cdt_end_date: 创建结束时间
|
|
1214
|
+
:param kpis:
|
|
1215
|
+
:param req_source: 腾讯需要的参数
|
|
1216
|
+
:return:
|
|
1217
|
+
"""
|
|
1218
|
+
url = f"{scheme}://{host}{filename}"
|
|
1219
|
+
data = dict()
|
|
1220
|
+
|
|
1221
|
+
# 默认参数
|
|
1222
|
+
if base_infos:
|
|
1223
|
+
data["base_infos"] = base_infos
|
|
1224
|
+
if conditions:
|
|
1225
|
+
data["conditions"] = conditions
|
|
1226
|
+
if data_type:
|
|
1227
|
+
data["data_type"] = data_type
|
|
1228
|
+
if end_date:
|
|
1229
|
+
data["end_date"] = end_date
|
|
1230
|
+
if kpis:
|
|
1231
|
+
data["kpis"] = kpis
|
|
1232
|
+
if media_type:
|
|
1233
|
+
data["media_type"] = media_type
|
|
1234
|
+
if page:
|
|
1235
|
+
data["page"] = page
|
|
1236
|
+
if page_size:
|
|
1237
|
+
data["page_size"] = page_size
|
|
1238
|
+
if sort_direction:
|
|
1239
|
+
data["sort_direction"] = sort_direction
|
|
1240
|
+
if sort_field:
|
|
1241
|
+
data["sort_field"] = sort_field
|
|
1242
|
+
if start_date:
|
|
1243
|
+
data["start_date"] = start_date
|
|
1244
|
+
if time_line:
|
|
1245
|
+
data["time_line"] = time_line
|
|
1246
|
+
if req_source:
|
|
1247
|
+
data["req_source"] = req_source
|
|
1248
|
+
|
|
1249
|
+
headers = copy.deepcopy(default_headers)
|
|
1250
|
+
headers["Cookie"] = cookie
|
|
1251
|
+
return lazyrequests.lazy_requests(
|
|
1252
|
+
method="POST",
|
|
1253
|
+
url=url,
|
|
1254
|
+
json=data,
|
|
1255
|
+
headers=headers
|
|
1256
|
+
)
|
|
1257
|
+
|
|
1258
|
+
|
|
1173
1259
|
def Advertiser_getRealAdvertiserData(
|
|
1174
1260
|
cookie: str,
|
|
1175
1261
|
start_date: str = None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
lazyad/__init__.py,sha256=tnVTFEgdzgMWQI0mZqy3DAueMJjpypPb15DdxJ-9TiU,41
|
|
2
2
|
lazyad/crawlers/__init__.py,sha256=GK3GGpiUJbESc1uGTwSmEnsSUwYDNZfJCxeLYB4CpS4,68
|
|
3
|
-
lazyad/crawlers/chuangliang.py,sha256=
|
|
3
|
+
lazyad/crawlers/chuangliang.py,sha256=wDMe8OPJKMgSfkOu2rSWzreWLl3eusiFbq-oYCamUPo,37513
|
|
4
4
|
lazyad/crawlers/mintegral.py,sha256=paibUE4R_sClQbGVVeRK9T5TzGqq6iDfWwDowWdipNk,15787
|
|
5
5
|
lazyad/crawlers/oceanengine.py,sha256=kjBEpCb_h5OpodCTqzvXd5MBBwAuw3Oq5UKWoTCXrQM,4540
|
|
6
6
|
lazyad/crawlers/qq.py,sha256=X_VjdgzAcDfckEAHrvdqBLtnmAuCBHPJVWu2H-IHZBA,5649
|
|
@@ -11,7 +11,7 @@ lazyad/open/kuaishou.py,sha256=B4wz3XW1hLQy7XR_nDQwrMUrYnm9Djec7OXKXRdiYXc,635
|
|
|
11
11
|
lazyad/open/mintegral.py,sha256=BXCaCfnz2iUsR-RtDSA8I27KSK8r4v3xkZfllD9q_vY,12788
|
|
12
12
|
lazyad/open/qq.py,sha256=pru1p4LCjURD9N5ukx-OStYAmDCvrTW4VMB2N0-3i5Q,6904
|
|
13
13
|
lazyad/open/unity.py,sha256=A0tEN5k40xq0v1cRnTLwRN5N7CBIe2oAyMRH1uxDAEw,8493
|
|
14
|
-
lazyad-0.0.
|
|
15
|
-
lazyad-0.0.
|
|
16
|
-
lazyad-0.0.
|
|
17
|
-
lazyad-0.0.
|
|
14
|
+
lazyad-0.0.74.dist-info/METADATA,sha256=rFSKNDB6drfswFPEuqqvDBM5B0feeoKgBF9e6EgQ1h0,1916
|
|
15
|
+
lazyad-0.0.74.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
16
|
+
lazyad-0.0.74.dist-info/top_level.txt,sha256=RAPjtj4gZYpsKAM3fAQrWyyn84xjdRuaiUS76gx6eNs,7
|
|
17
|
+
lazyad-0.0.74.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|