lazyad 0.0.11__tar.gz → 0.0.12__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.11
3
+ Version: 0.0.12
4
4
  Summary: 基于Python的懒人包-适用于广告投放模块
5
5
  Home-page: https://gitee.com/ZeroSeeker/lazyad
6
6
  Author: ZeroSeeker
@@ -84,7 +84,7 @@ def oauth_token3(
84
84
  :param redirect_uri: 回调地址
85
85
  :return:
86
86
  """
87
- url = 'https://api.e.qq.com/v3.0/oauth/token'
87
+ # url = 'https://api.e.qq.com/v3.0/oauth/token'
88
88
  params = {
89
89
  'client_id': app_id,
90
90
  'client_secret': app_secret,
@@ -95,6 +95,9 @@ def oauth_token3(
95
95
  params['access_token'] = access_token
96
96
  params['timestamp'] = int(time.time())
97
97
  params['nonce'] = make_nonce()
98
+ url = 'https://api.e.qq.com/v3.0/oauth/token'
99
+ else:
100
+ url = 'https://api.e.qq.com/oauth/token'
98
101
  if auth_code:
99
102
  params['authorization_code'] = auth_code
100
103
  if refresh_token:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyad
3
- Version: 0.0.11
3
+ Version: 0.0.12
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.11",
16
+ version="0.0.12",
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