All Projects → adyzng → jd-autobuy

adyzng / jd-autobuy

Licence: other
Python爬虫,京东自动登录,在线抢购商品

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to jd-autobuy

go-jd
京东App自动登录,在线商品自动下单
Stars: ✭ 158 (-87.48%)
Mutual labels:  scraper, jingdong
yellowpages-scraper
Yellowpages.com Web Scraper written in Python and LXML to extract business details available based on a particular category and location.
Stars: ✭ 56 (-95.56%)
Mutual labels:  scraper
Scrapysharp
reborn of https://bitbucket.org/rflechner/scrapysharp
Stars: ✭ 226 (-82.09%)
Mutual labels:  scraper
TwitterScraper
Scrape a User's Twitter data! Bypass the 3,200 tweet API limit for a User!
Stars: ✭ 80 (-93.66%)
Mutual labels:  scraper
Skrape.it
A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion.
Stars: ✭ 231 (-81.7%)
Mutual labels:  scraper
tv grab fr telerama
XMLTV Grabber using telerama api data
Stars: ✭ 36 (-97.15%)
Mutual labels:  scraper
Goose Parser
Universal scrapping tool, which allows you to extract data using multiple environments
Stars: ✭ 211 (-83.28%)
Mutual labels:  scraper
RedditExtractor
A minimalistic R wrapper for the Reddit API
Stars: ✭ 58 (-95.4%)
Mutual labels:  scraper
TradeTheEvent
Implementation of "Trade the Event: Corporate Events Detection for News-Based Event-Driven Trading." In Findings of ACL2021
Stars: ✭ 64 (-94.93%)
Mutual labels:  scraper
Polite
Be nice on the web
Stars: ✭ 253 (-79.95%)
Mutual labels:  scraper
Heroku ebooks
A script to generate Markov chains and to post to an _ebooks account on Twitter using Heroku
Stars: ✭ 251 (-80.11%)
Mutual labels:  scraper
Getsy
A simple browser/client-side web scraper.
Stars: ✭ 238 (-81.14%)
Mutual labels:  scraper
fiveN1-rent-scraper
🏠 a.k.a 591 rent scraper(591 租屋網爬蟲)
Stars: ✭ 51 (-95.96%)
Mutual labels:  scraper
Annie
👾 Fast and simple video download library and CLI tool written in Go
Stars: ✭ 16,369 (+1197.07%)
Mutual labels:  scraper
google-scraper
This class can retrieve search results from Google.
Stars: ✭ 33 (-97.39%)
Mutual labels:  scraper
Ruiji.net
crawler framework, distributed crawler extractor
Stars: ✭ 220 (-82.57%)
Mutual labels:  scraper
Instagram Proxy Api
CORS compliant API to access Instagram's public data
Stars: ✭ 245 (-80.59%)
Mutual labels:  scraper
JDBrandMember
京东自动入会获取京豆
Stars: ✭ 496 (-60.7%)
Mutual labels:  jingdong
proxy-scraper
⭐️ A proxy scraper made using Protractor | Proxy list Updates every three hour 🔥
Stars: ✭ 201 (-84.07%)
Mutual labels:  scraper
scrapetube
Get all videos from a youtube channel, get all videos from a playlist, get all videos that match a search
Stars: ✭ 120 (-90.49%)
Mutual labels:  scraper

JD_AutoBuy

京东抢购

Python爬虫,自动登录京东网站,查询商品库存,价格,显示购物车详情等。
可以指定抢购商品,自动购买下单,然后手动去京东付款就行。

chang log

运行环境

Python 2.7

第三方库

环境配置

pip install requests
pip install beautifulsoup4

使用帮助

> python scraper-jd.py -h
usage: scraper-jd.py [-h] [-u USERNAME] [-p PASSWORD] [-g GOOD] [-c COUNT]
                     [-w WAIT] [-f] [-s]

Simulate to login Jing Dong, and buy sepecified good

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        Jing Dong login user name
  -p PASSWORD, --password PASSWORD
                        Jing Dong login user password
  -g GOOD, --good GOOD  Jing Dong good ID
  -c COUNT, --count COUNT
                        The count to buy
  -w WAIT, --wait WAIT  Flush time interval, unit MS
  -f, --flush           Continue flash if good out of stock
  -s, --submit          Submit the order to Jing Dong

实例输出

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thu Mar 30 17:10:01 2017 > 请打开京东手机客户端,准备扫码登陆:
201 : 二维码未扫描 ,请扫描二维码
201 : 二维码未扫描 ,请扫描二维码
201 : 二维码未扫描 ,请扫描二维码
201 : 二维码未扫描 ,请扫描二维码
202 : 请手机客户端确认登录
200 : BADACIFYhf6fakfHvjiYTlwGzSp4EjFATN3Xw1ePR1hITtw0
登陆成功
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thu Mar 30 17:10:28 2017 > 商品详情
编号:3133857
库存:现货
价格:6399.00
名称:Apple iPhone 7 Plus (A1661) 128G 黑色 移动联通电信4G手机
链接:http://cart.jd.com/gate.action?pid=3133857&pcount=1&ptype=1
商品已成功加入购物车!
购买数量:3133857 > 1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thu Mar 30 17:10:30 2017 > 购物车明细
购买    数量    价格        总价        商品
 Y      1       6399.00     6399.00     Apple iPhone 7 Plus (A1661) 128G 黑色 移动联通电信4G手机
总数: 1
总额: 6399.00
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thu Mar 30 17:10:30 2017 > 订单详情
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
...

代码仅供学习之用,京东网页不断变化,代码并不一定总是能正常运行。
如果您发现有Bug,Welcome to Pull Request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].