lazyad 0.0.36__tar.gz → 0.0.37__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.
- {lazyad-0.0.36 → lazyad-0.0.37}/PKG-INFO +1 -1
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad/crawlers/chuangliang.py +24 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad.egg-info/PKG-INFO +1 -1
- {lazyad-0.0.36 → lazyad-0.0.37}/setup.py +1 -1
- {lazyad-0.0.36 → lazyad-0.0.37}/README.md +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad/__init__.py +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad/crawlers/__init__.py +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad/crawlers/oceanengine.py +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad/crawlers/qq.py +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad/open/__init__.py +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad/open/qq.py +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad.egg-info/SOURCES.txt +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad.egg-info/dependency_links.txt +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad.egg-info/requires.txt +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/lazyad.egg-info/top_level.txt +0 -0
- {lazyad-0.0.36 → lazyad-0.0.37}/setup.cfg +0 -0
|
@@ -835,3 +835,27 @@ def get_project_report(
|
|
|
835
835
|
json=data,
|
|
836
836
|
headers=headers
|
|
837
837
|
)
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
def get_material_detail(
|
|
841
|
+
cookie: str,
|
|
842
|
+
material_id: str,
|
|
843
|
+
):
|
|
844
|
+
"""
|
|
845
|
+
获取素材详情
|
|
846
|
+
:param cookie:
|
|
847
|
+
:param material_id: 素材ID
|
|
848
|
+
:return:
|
|
849
|
+
"""
|
|
850
|
+
url = "https://cli2.mobgi.com/Material/Manage/detail"
|
|
851
|
+
data = {
|
|
852
|
+
"material_id": material_id
|
|
853
|
+
}
|
|
854
|
+
headers = copy.deepcopy(default_headers)
|
|
855
|
+
headers["Cookie"] = cookie
|
|
856
|
+
return lazyrequests.lazy_requests(
|
|
857
|
+
method="GET",
|
|
858
|
+
url=url,
|
|
859
|
+
params=data,
|
|
860
|
+
headers=headers
|
|
861
|
+
)
|
|
@@ -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.
|
|
16
|
+
version="0.0.37",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|