Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mangadex] pornographic titles return no results anymore #1908

Closed
nexen-eve opened this issue Oct 1, 2021 · 2 comments
Closed

[mangadex] pornographic titles return no results anymore #1908

nexen-eve opened this issue Oct 1, 2021 · 2 comments

Comments

@nexen-eve
Copy link

I noticed the last few days pornographic titles return no results anymore.

For example:
gallery-dl --verbose --ignore-config https://mangadex.org/title/584ef094-b2ab-40ce-962c-bce341fb9d10
or
gallery-dl --verbose --ignore-config --username xxx --password xxx https://mangadex.org/title/584ef094-b2ab-40ce-962c-bce341fb9d10
or
gallery-dl --verbose --ignore-config --username xxx --password xxx --cookies cookies-mangadex-org.txt https://mangadex.org/title/584ef094-b2ab-40ce-962c-bce341fb9d10

Returns:
[gallery-dl][debug] Version 1.19.0-dev
[gallery-dl][debug] Python 3.9.0 - Windows-10-10.0.19041-SP0
[gallery-dl][debug] requests 2.25.1 - urllib3 1.25.10
[gallery-dl][debug] Starting DownloadJob for 'https://mangadex.org/title/584ef094-b2ab-40ce-962c-bce341fb9d10'
[mangadex][debug] Using MangadexMangaExtractor for 'https://mangadex.org/title/584ef094-b2ab-40ce-962c-bce341fb9d10'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.mangadex.org:443
[urllib3.connectionpool][debug] https://api.mangadex.org:443 "GET /manga/584ef094-b2ab-40ce-962c-bce341fb9d10/feed?order%5Bvolume%5D=asc&order%5Bchapter%5D=asc&offset=0 HTTP/1.1" 200 92
[mangadex][info] No results for https://mangadex.org/title/584ef094-b2ab-40ce-962c-bce341fb9d10

Downloading a specific chapter still works.

@nexen-eve
Copy link
Author

nexen-eve commented Oct 1, 2021

Adding contentRating[]=safe&contentRating[]=suggestive&contentRating[]=erotica&contentRating[]=pornographic to the get request might solve this.

@nexen-eve
Copy link
Author

Can confirm adding
"contentRating[]" : ["safe","suggestive","erotica","pornographic"]
after line 214 in mangadex.py seems to ensure all content ratings are requested and everything works as intended again.

@mikf mikf closed this as completed in 96215c9 Oct 1, 2021
mikf added a commit that referenced this issue Oct 5, 2021
- move common parameters into '_pagination()'
- add 'ratings' (#1908) and 'api-parameters' options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant