2 Star 1 Fork 1

Charles/github_ClassmateLin_jd_scripts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_wishing_pool.py 807 Bytes
一键复制 编辑 原始数据 按行查看 历史
ClassmateLin 提交于 2021-09-02 09:53 +08:00 . 恢复
#!/usr/local/bin/python
# -*- coding: utf-8 -*-
# @Time : 2021/7/7 21:48
# @File : jd_wishing_pool.py
# @Project : jd_scripts
# @Cron : 45 */12 * * *
# @Desc : 京东APP首页->京东众筹->众筹许愿池
from utils.jd_common import JdCommon
from config import USER_AGENT
CODE_KEY = 'jd_wishing_pool'
class JdWishingPool(JdCommon):
"""
众筹许愿池
"""
appid = '1E1NXxq0'
code_key = CODE_KEY
# 请求头
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'Referer': 'https://h5.m.jd.com/babelDiy/Zeus/4FdmTJQNah9oDJyQN8NggvRi1nEY/index.html',
'User-Agent': USER_AGENT
}
if __name__ == '__main__':
from utils.process import process_start
process_start(JdWishingPool, '众筹许愿池', code_key=CODE_KEY)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ritaswc/ClassmateLin_jd_scripts.git
git@gitee.com:ritaswc/ClassmateLin_jd_scripts.git
ritaswc
ClassmateLin_jd_scripts
github_ClassmateLin_jd_scripts
develop

搜索帮助