We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e67dfdf commit 523a5ceCopy full SHA for 523a5ce
pyutils/HttpUtil.py
@@ -155,6 +155,13 @@ def selenium_driver(url):
155
:param url:
156
:return:
157
"""
158
+ if sys.platform == "win32":
159
+ path = "./chromedriver.exe"
160
+ else:
161
+ path = "./chromedriver"
162
+
163
+ if not os.path.exists(path):
164
+ download_taobao_chromedriver()
165
166
# chrome选项
167
options = webdriver.ChromeOptions()
pyutils/Mail.py
@@ -70,8 +70,8 @@ def lin_shi_you_xiang_suffix():
70
"@bestsoundeffects.com",
71
"@vradportal.com",
72
"@a4papersize.net"]
73
- a = random.randint(1, 11)
74
- return suffix_array[a[0]]
+ a = random.randint(0, 10)
+ return suffix_array[a]
75
76
77
def lin_shi_you_xiang_apply(prefix):
0 commit comments