Giter VIP home page Giter VIP logo

Comments (12)

NateScarlet avatar NateScarlet commented on June 23, 2024

artwork rank not require login, and tested daily by github ci

func TestArtworkRankSimple(t *testing.T) {

from pixiv.

NateScarlet avatar NateScarlet commented on June 23, 2024

What you got when run curl https://www.pixiv.net/ranking.php?format=json ?

from pixiv.

abserari avatar abserari commented on June 23, 2024

when I use t78e7raoq5ma3q32emf0o68qh514l78c, the PHPSESSIONID from the terminal, it works.
the PHPSESSION is from my edge browser which is not work in the first picture.

I test curl https://www.pixiv.net/ranking.php?format=json, ok .

from pixiv.

abserari avatar abserari commented on June 23, 2024

One more question. I couldn't get this url. curl "https://www.pixiv.net/ranking.php?format=json&mode=daily_r18"

But I could get it by browser with my pixiv account is log in.

It means the daily ranking I could get, but not daily_r18.

from pixiv.

NateScarlet avatar NateScarlet commented on June 23, 2024

r18 data require login as a account that choose to display r-18 contents in https://www.pixiv.net/setting_user.php

pixiv
pixiv(ピクシブ)は、作品の投稿・閲覧が楽しめる「イラストコミュニケーションサービス」です。幅広いジャンルの作品が投稿され、ユーザー発の企画やメーカー公認のコンテストが開催されています。

from pixiv.

NateScarlet avatar NateScarlet commented on June 23, 2024

You can test client login status by

func (c Client) IsLoggedIn() (ret bool, err error) {

from pixiv.

abserari avatar abserari commented on June 23, 2024

r18 data require login as a account that choose to display r-18 contents in https://www.pixiv.net/setting_user.php
image

I think I set it true.

And I test the client login status. It is false.
Both get false with login mode and cookies session mode. Is this about reCAPTCHA?
Because I print the response and found that the HTML display about reCAPTCHA.

from pixiv.

NateScarlet avatar NateScarlet commented on June 23, 2024

似乎是P站更新了登录检测机制 我研究下

from pixiv.

NateScarlet avatar NateScarlet commented on June 23, 2024

现在会检测User-Agent了 我更新下库

from pixiv.

NateScarlet avatar NateScarlet commented on June 23, 2024

用 0.4.1 应该就行了

from pixiv.

abserari avatar abserari commented on June 23, 2024

ok, Default

from pixiv.

NateScarlet avatar NateScarlet commented on June 23, 2024

你应该主动登出一次把发在这的 PHPSESSID 过期掉 不然可能你账号可能会被其他人使用

from pixiv.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.