lazyad 0.0.76__tar.gz → 0.0.77__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyad
3
- Version: 0.0.76
3
+ Version: 0.0.77
4
4
  Summary: 基于Python的懒人包-适用于广告投放模块
5
5
  Home-page: https://gitee.com/ZeroSeeker/lazyad
6
6
  Author: ZeroSeeker
@@ -1402,3 +1402,31 @@ def Project_updateStatus(
1402
1402
  json=data,
1403
1403
  headers=headers
1404
1404
  )
1405
+
1406
+
1407
+ def getTaskResult(
1408
+ cookie: str,
1409
+ batch_id: str = None,
1410
+
1411
+ scheme: str = "https",
1412
+ host: str = default_host,
1413
+ filename: str = "/Toutiao/Tools/getTaskResult"
1414
+ ):
1415
+ """
1416
+ 获取任务结果
1417
+ :param cookie:
1418
+ :param batch_id:
1419
+ :return:
1420
+ """
1421
+ url = f"{scheme}://{host}{filename}"
1422
+ data = dict()
1423
+ if batch_id:
1424
+ data["batch_id"] = batch_id
1425
+ headers = copy.deepcopy(default_headers)
1426
+ headers["Cookie"] = cookie
1427
+ return lazyrequests.lazy_requests(
1428
+ method="POST",
1429
+ url=url,
1430
+ json=data,
1431
+ headers=headers
1432
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyad
3
- Version: 0.0.76
3
+ Version: 0.0.77
4
4
  Summary: 基于Python的懒人包-适用于广告投放模块
5
5
  Home-page: https://gitee.com/ZeroSeeker/lazyad
6
6
  Author: ZeroSeeker
@@ -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.76",
16
+ version="0.0.77",
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