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

[catbox] Direct links #3570

Closed
AlttiRi opened this issue Jan 25, 2023 · 3 comments
Closed

[catbox] Direct links #3570

AlttiRi opened this issue Jan 25, 2023 · 3 comments

Comments

@AlttiRi
Copy link

AlttiRi commented Jan 25, 2023

In additional to uploadir #3162 it makes sense to add the support for the direct links of catbox.

More over, there is already the support for catbox gallery URLs (catbox category, album subcategory), but not for the direct links. (a799fae. For example, /c/8xw6g4, /c/zeara1)

Direct links look like these:

Last-Modified header is present.


Note: litter links are temporal, they live for 72 hours.

@mikf
Copy link
Owner

mikf commented Jan 26, 2023

Aren't these already covered by the directlink extractor?

uploadir

There was some extra code necessary to to make non-image file downloads work, but I don't think that's the case for catbox. Even wget and curl are more then enough here and probably better than gallery-dl.

@AlttiRi
Copy link
Author

AlttiRi commented Jan 26, 2023

Currently the config for catbox will work for album links only, while an album is just a collection of direct links.
However, direct links are put to directlink/files.catbox.moe__ph41ul.png, album files to catbox\Six (zeara1)\3bs9a6.png.
One service, but different filename, path formats, as well as and the set of keys for using in filename (no date and different category).


Although, there is a question is filename unique for all domain files, de, litter, or there may be intersections.

@AlttiRi
Copy link
Author

AlttiRi commented Jan 29, 2023

Even wget and curl are more then enough here and probably better than gallery-dl.

Do they support:

  • auto file naming
  • multiple URLs input
  • custom filename pattern
  • using formatted Last-Modified value in the filename pattern
  • setting Last-Modified value as a file mtime
  • download history

I see that they support only the first thing (with a flag), and multiple input from a file.

I don't think that these tools are okay for media downloading.
They are okay only for one time downloading, when you don't care about any meta information, you only need a raw file.

mikf added a commit that referenced this issue Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants