All Projects → chenjiandongx → Pixiv

chenjiandongx / Pixiv

P 站非会员查看人气作品

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Pixiv

Pxder
🖼 Download illusts from pixiv.net P站插画批量下载器
Stars: ✭ 602 (+418.97%)
Mutual labels:  pixiv
Pixiv Crawler
Scrapy框架下的pixiv多功能爬虫
Stars: ✭ 46 (-60.34%)
Mutual labels:  pixiv
Pixivformuzei3
Best Pixiv plugin for Muzei 3
Stars: ✭ 81 (-30.17%)
Mutual labels:  pixiv
Cq Picsearcher Bot
🤖 基于 saucenao / ascii2d / whatanime 的搜图机器人
Stars: ✭ 830 (+615.52%)
Mutual labels:  pixiv
Pixivformuzeiplus
Muzei Live Wallpaper's Source for Pixiv
Stars: ✭ 38 (-67.24%)
Mutual labels:  pixiv
Pixivbatchdownloader
Chrome 扩展,批量下载 Pixiv 的插画和小说。过滤作品、下载时重命名、转换动态图片等。Powerful Pixiv batch downloader. Batch download artworks and novels, filter works, rename when downloading, convert animated images, and more.
Stars: ✭ 1,109 (+856.03%)
Mutual labels:  pixiv
Webextension Pixiv Toolkit
A web extension for Pixiv
Stars: ✭ 513 (+342.24%)
Mutual labels:  pixiv
Pixiv
Pixiv Downloader - Batch download pictures from Pixiv
Stars: ✭ 109 (-6.03%)
Mutual labels:  pixiv
Pixeval
A Strong, Fast and Flexible Pixiv Client based on .NET Core and WPF
Stars: ✭ 1,031 (+788.79%)
Mutual labels:  pixiv
Pixiv Api Php
Pixiv API for PHP
Stars: ✭ 69 (-40.52%)
Mutual labels:  pixiv
Pixiv Shaft
Pixiv第三方Android客户端
Stars: ✭ 887 (+664.66%)
Mutual labels:  pixiv
Pixivcrawleriii
A python3 crawler for crawling Pixiv ranking top and any illustrator all artworks
Stars: ✭ 38 (-67.24%)
Mutual labels:  pixiv
Hitomi Downloader
🍰 Desktop application to download images/videos/music/text from Hitomi.la and other sites, and more.
Stars: ✭ 1,154 (+894.83%)
Mutual labels:  pixiv
Pxer
A tool for pixiv.net. 人人可用的P站爬虫
Stars: ✭ 776 (+568.97%)
Mutual labels:  pixiv
Pixiv Illustration Collection Backend
Stars: ✭ 1,237 (+966.38%)
Mutual labels:  pixiv
Pixivuserbatchdownload
P站画师个人作品批量下载工具,UserScript + Aria2。可高度自定义重命名,发送到本地或远程(如路由器)下载。
Stars: ✭ 603 (+419.83%)
Mutual labels:  pixiv
Pixivpy
Pixiv API for Python
Stars: ✭ 1,080 (+831.03%)
Mutual labels:  pixiv
Pixiv Api Client
Promise based Pixiv API client for node.js and react native
Stars: ✭ 114 (-1.72%)
Mutual labels:  pixiv
Nazurin
🎉 Images collection done right. Telegram 图片收藏机器人 / A Telegram bot which helps you collect ACG illustrations.
Stars: ✭ 88 (-24.14%)
Mutual labels:  pixiv
Starx pixiv collector
Yes! Now I can finally free my hands!❤
Stars: ✭ 69 (-40.52%)
Mutual labels:  pixiv

P 站非会员查看人气作品

这个项目来源于我的一篇文章 缺手机壁纸?来看看:也来看看 下面的一条评论

其实一开始我是不知道 P 站是什么

某度了一下,原来是日本一个插画网站,但是这个网站看人气作品是要会员的。

然后我就又有个大胆的想法了,把插图的的连接和 star 数爬取下来,然后进行排序,这样就可以看到人气高的作品了。

第一次爬取网站内容,发现没有插图内容,应该是要保持登录状态才行。为此我注册了个账号,目的是为了获取 cookies。F12 获取 cookies

将 cookies 保存在项目下的 cookies.txt 文件里。在代码中组装 cookies 内容

def cookies(self):
    with open("cookies.txt", 'r') as f:
        _cookies = {}
        for row in f.read().split(';'):
            k, v = row.strip().split('=', 1)
            _cookies[k] = v
        return _cookie

测试一下,爬取 'summer' 关键词前 500 页信息。

urls = get_urls("summer", 500)

效果如下

点击排第一的连接

诚不欺我,确实高人气
不过这个单线程版本(pixiv.py)爬取太多页的话速度有点慢,所以又写了个多线程版本的(pixiv_.py),速度蹭蹭就上去了。

技术本身是无罪的。 —— 原快播CEO王欣

当然还是希望有能力的同学支持下这个网站,充个会员。但是,我!就!不!

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].