liuyuqi-dellpc 5 years ago
parent
commit
39f6b0e8b3
5 changed files with 44 additions and 2 deletions
  1. 0 1
      comment/comment.py
  2. 4 0
      conf/account.ini
  3. 28 0
      get_proxy.py
  4. 11 0
      login.py
  5. 1 1
      video/download.py

+ 0 - 1
comment/comment.py

@@ -9,7 +9,6 @@
 @License :   (C)Copyright 2019
 @License :   (C)Copyright 2019
 @Desc    :   自动评论
 @Desc    :   自动评论
 解决方案:
 解决方案:
-
 '''
 '''
 
 
 import requests
 import requests

+ 4 - 0
conf/account.ini

@@ -0,0 +1,4 @@
+[Accounts]
+xiaozhou@qq.com = 16456asf
+liuxiaoq@qq.com = 223girl
+

+ 28 - 0
get_proxy.py

@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+# -*- encoding: utf-8 -*-
+'''
+@File    :   get_proxy.py
+@Time    :   2019/05/26 01:03:22
+@Author  :   Liuyuqi 
+@Version :   1.0
+@Contact :   liuyuqi.gov@msn.cn
+@License :   (C)Copyright 2019
+@Desc    :   通过给定的 API 文档,获取付费的 ip 代理
+
+这里代理举例如下:
+
+http://www.data5u.com/api/create-dynamic.html
+
+'''
+import requests
+
+sessionClient=requests.session()
+url=""
+
+def saveProxy():
+    # 保存proxy到文件
+    pass
+
+res=sessionClient.get(url=url)
+saveProxy()
+print(res)

+ 11 - 0
login.py

@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+# -*- encoding: utf-8 -*-
+'''
+@File    :   login.py
+@Time    :   2019/05/26 00:52:15
+@Author  :   Liuyuqi 
+@Version :   1.0
+@Contact :   liuyuqi.gov@msn.cn
+@License :   (C)Copyright 2019
+@Desc    :   快手 web 登录
+'''

+ 1 - 1
video/download.py

@@ -9,5 +9,5 @@
 @License :   (C)Copyright 2019
 @License :   (C)Copyright 2019
 @Desc    :   下载快手视频
 @Desc    :   下载快手视频
 '''
 '''
-
+import xml