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

Deviantart search results #1264

Closed
PapiRus01 opened this issue Jan 22, 2021 · 2 comments
Closed

Deviantart search results #1264

PapiRus01 opened this issue Jan 22, 2021 · 2 comments

Comments

@PapiRus01
Copy link

Please add support for deviantart search results for Eclipse-layout URLs.

Example:

https://www.deviantart.com/search/deviations?q="raid%20shadow%20legends"

@mikf
Copy link
Owner

mikf commented Jan 23, 2021

Your example already gets matched by gallery-dl, but, due to lack of search support in the official OAuth API, it uses the /browse/popular endpoint, which is the closest you can get to a real search:

$ gallery-dl https://www.deviantart.com/search/deviations?q=%22raid%20shadow%20legends%22
/tmp/deviantart/Popular/24-hours/"raid …adow legends"/deviantart_867691536_ .jpg
/tmp/deviantart/Popular/24-hours/"raid …ust ~ RAID SHADOW LEGENDS ~ Sketch ~.png
/tmp/deviantart/Popular/24-hours/"raid …"/deviantart_866436685_darn it ronpa.png

@PapiRus01
Copy link
Author

Thanks for your help!

mikf added a commit that referenced this issue Feb 22, 2023
(#538, #1264, #2954, #2970, #3577)

Requires login to fetch any results, since the API endpoint raises an
error for not logged in requests.

TODO: parse HTML search results
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

2 participants