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

@@ -0,0 +1,37 @@
1
+ # 微盛,企业管家 https://platform.wshoto.com
2
+ from lazysdk import lazyrequests
3
+ import copy
4
+
5
+
6
+ default_headers = {
7
+ "Accept": "application/json, text/plain, */*",
8
+ "Accept-Encoding": "gzip, deflate, zstd",
9
+ "Accept-Language": "en-US,en;q=0.5",
10
+ "Cache-Control": "no-cache",
11
+ "Connection": "keep-alive",
12
+ "Host": "platform.wshoto.com",
13
+ "Origin": "https://platform.wshoto.com",
14
+ "Pragma": "no-cache",
15
+ "Referer": "https://platform.wshoto.com/index/dashboard",
16
+ "Sec-Fetch-Dest": "empty",
17
+ "Sec-Fetch-Mode": "cors",
18
+ "Sec-Fetch-Site": "same-origin",
19
+ "TE": "trailers",
20
+ "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:139.0) Gecko/20100101 Firefox/139.0",
21
+ "x-admin-header": "1",
22
+ "x-clientType-header": "pc",
23
+ "x-header-host": "platform.wshoto.com",
24
+ }
25
+
26
+
27
+ def dashboard(
28
+ authorization: str
29
+ ):
30
+ url = "https://platform.wshoto.com/bff/index/private/pc/dashboard?saMode=SECRET"
31
+ headers = copy.deepcopy(default_headers)
32
+ headers["Authorization"] = authorization
33
+ return lazyrequests.lazy_requests(
34
+ method="POST",
35
+ url=url,
36
+ headers=headers
37
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyad
3
- Version: 0.0.59
3
+ Version: 0.0.60
4
4
  Summary: 基于Python的懒人包-适用于广告投放模块
5
5
  Home-page: https://gitee.com/ZeroSeeker/lazyad
6
6
  Author: ZeroSeeker
@@ -8,8 +8,8 @@ Author-email: zeroseeker@foxmail.com
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Operating System :: OS Independent
10
10
  Description-Content-Type: text/markdown
11
- Requires-Dist: lazysdk >=0.1.88
12
- Requires-Dist: xmltodict ==0.14.2
11
+ Requires-Dist: lazysdk>=0.1.88
12
+ Requires-Dist: xmltodict==0.14.2
13
13
 
14
14
  # lazyad
15
15
 
@@ -4,12 +4,13 @@ lazyad/crawlers/chuangliang.py,sha256=QsEKTKcLn2WC3kW9pHnRG2O30r1kC2mmS-CSO7IKpa
4
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
+ lazyad/crawlers/wshoto.py,sha256=3xckDjK-BpEGPMLHUBgQ8OWuUq77EBL9f7d4j0jwuAY,1224
7
8
  lazyad/open/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
9
  lazyad/open/kuaishou.py,sha256=B4wz3XW1hLQy7XR_nDQwrMUrYnm9Djec7OXKXRdiYXc,635
9
10
  lazyad/open/mintegral.py,sha256=BXCaCfnz2iUsR-RtDSA8I27KSK8r4v3xkZfllD9q_vY,12788
10
11
  lazyad/open/qq.py,sha256=pru1p4LCjURD9N5ukx-OStYAmDCvrTW4VMB2N0-3i5Q,6904
11
12
  lazyad/open/unity.py,sha256=A0tEN5k40xq0v1cRnTLwRN5N7CBIe2oAyMRH1uxDAEw,8493
12
- lazyad-0.0.59.dist-info/METADATA,sha256=IiSfmBQWG1tLd98pEkPXn6iXml726bDctSLtMzty7IA,1918
13
- lazyad-0.0.59.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
14
- lazyad-0.0.59.dist-info/top_level.txt,sha256=RAPjtj4gZYpsKAM3fAQrWyyn84xjdRuaiUS76gx6eNs,7
15
- lazyad-0.0.59.dist-info/RECORD,,
13
+ lazyad-0.0.60.dist-info/METADATA,sha256=sxk4VsC2bmfnZ3YmHa43-PLOreEiAr8d7B6XbFCyLUo,1916
14
+ lazyad-0.0.60.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
15
+ lazyad-0.0.60.dist-info/top_level.txt,sha256=RAPjtj4gZYpsKAM3fAQrWyyn84xjdRuaiUS76gx6eNs,7
16
+ lazyad-0.0.60.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: setuptools (75.3.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5