hydrusnetwork / hydrusnetwork/hydrus

URL Class can optionally clean out urls for gallery queries.

Open
#667 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ease-of-use feature-request system:downloading system:url-management
Dominant language
Python
Stars
3.2k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

URL Classes is already linked to GUG's.
By having an optional regex or transformation option in the URL Classes like the API transforms we already have.
We could have it remove the base URL for a Query as a whole and or only look for certain params like q=blah+blah.

Doing this would enable users to paste in whole urls into the query field for galleries, would allow the download system to spawn an Gallery Download tab with the query instead of an URL Download tab.

It would simplefy some usage like it and would enable gallery drag and drop with the normal gallery searching aswell.

Think this is an Ease of Use Feature for sure.

It would enable people to more easily import urls of the sort without needing to clean it all up. Would also allow for the Hydrus Companion to spawn Gallery Queries instead of URL Download tabs more easily aswell.

Re-using the paramater selection you use for the page numbers similar to this:
image

Or use the same regex cleanup stuff we have in many other locations.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is identified. Start by tracing URL Classes, gallery query input, and the download system to determine how URL transformations and parameter selection currently work. Done should mean an optional cleanup can turn supported pasted gallery URLs into gallery queries, including routing downloads to a Gallery Download tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.