lazyad 0.0.75__py3-none-any.whl → 0.0.76__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.

@@ -1366,3 +1366,39 @@ def Project_getList(
1366
1366
  json=data,
1367
1367
  headers=headers
1368
1368
  )
1369
+
1370
+
1371
+ def Project_updateStatus(
1372
+ cookie: str,
1373
+ opt_status: str,
1374
+ project_ids: list = None,
1375
+ time: str = None,
1376
+
1377
+ scheme: str = "https",
1378
+ host: str = default_host,
1379
+ filename: str = "/Toutiao/Project/updateStatus"
1380
+ ):
1381
+ """
1382
+ 推广-广告管理-项目 操作
1383
+ :param cookie:
1384
+ :param start_date: 数据开始日期
1385
+ :param end_date: 数据结束日期
1386
+ :return:
1387
+ """
1388
+ url = f"{scheme}://{host}{filename}"
1389
+
1390
+ data = dict()
1391
+ if opt_status:
1392
+ data["opt_status"] = opt_status
1393
+ if project_ids:
1394
+ data["project_ids"] = project_ids
1395
+ if time:
1396
+ data["time"] = time
1397
+ headers = copy.deepcopy(default_headers)
1398
+ headers["Cookie"] = cookie
1399
+ return lazyrequests.lazy_requests(
1400
+ method="POST",
1401
+ url=url,
1402
+ json=data,
1403
+ headers=headers
1404
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyad
3
- Version: 0.0.75
3
+ Version: 0.0.76
4
4
  Summary: 基于Python的懒人包-适用于广告投放模块
5
5
  Home-page: https://gitee.com/ZeroSeeker/lazyad
6
6
  Author: ZeroSeeker
@@ -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=9yq4dU0lraedSelP_YU8B1DnUcTPUypt50OcA6sJmsw,39444
3
+ lazyad/crawlers/chuangliang.py,sha256=WE_4AYHVRB4XDd24aXz-ctf0rBLxBl-T7hFmnqb50aw,40297
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.75.dist-info/METADATA,sha256=yszJcUxSjXzkNaM2pfOYP5srktuRKnv8VjryngCSuRw,1916
15
- lazyad-0.0.75.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
16
- lazyad-0.0.75.dist-info/top_level.txt,sha256=RAPjtj4gZYpsKAM3fAQrWyyn84xjdRuaiUS76gx6eNs,7
17
- lazyad-0.0.75.dist-info/RECORD,,
14
+ lazyad-0.0.76.dist-info/METADATA,sha256=VKUxqSumKxYfr7PEiSXGVyGXjCN-0ceWb_5OowrPa4E,1916
15
+ lazyad-0.0.76.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
16
+ lazyad-0.0.76.dist-info/top_level.txt,sha256=RAPjtj4gZYpsKAM3fAQrWyyn84xjdRuaiUS76gx6eNs,7
17
+ lazyad-0.0.76.dist-info/RECORD,,