Closed wankio closed 6 years ago
Well, it was working just fine before.. But yeah, Reddit got a site redesign pretty recently, and I think the official switch has been made not long ago. So that is probably the cause here..
ripme still work but it failed to merge audio, so i think tt has changed recently
The cause for this error was the value for id-max
in the default config file, ZIK0ZJ
, and its uppercase letters. _parse_id()
and _decode()
in the reddit module convert reddit submission IDs (like ZIK0ZJ
) into actual numbers, but they expect lowercase letters. Anyways, it's fixed now (hopefully).
ty but when i test it
reddit: Conflicting values for 'client-id' and 'user-agent': override either both or none of them. reddit: Requesting public access token reddit: Authentication failed: "Unauthorized (401)"
This is another issue caused by conflicting values in the default config file ... I should've tested them a bit better, sorry about that.
To get things working, either delete the general user-agent
setting somewhere at the top of your config file, or set the user-agent
for reddit to "Python:gallery-dl:0.8.4 (by /u/mikf1)"
. Both should work.
tested and worked now, thank you :)
But when i'm trying to rip this : https://www.reddit.com/r/BokuNoEroAcademia/ seem like it deep analysis each post, if post have external source, it will download external source and put it in extractor folder. It should put all external folder inside reddit/bokunoeroacademia
If post external source is tumblr/twitter user link, not post link, it will download all like what it designed for user link tumblr,twitter,danboo,nhentai,...... it should focus only on post link and skip if it's user link (to avoid download hundred or thousand of files
Set comments
to 0
if you don't want it to go through user comments and get URLs from there as well.
The directory structure for Reddit downloads is a bit unfortunate, I agree, but "fixing" it isn't really possible with how things work internally. Getting this right is a goal for v2.0.0 for sure, but for right now you will have to manually set the base-directory
to get it to do what you want.
$ gallery-dl -d BokuNoEroAcademia https://www.reddit.com/r/BokuNoEroAcademia/
# or
$ gallery-dl -o base-directory=BokuNoEroAcademia https://www.reddit.com/r/BokuNoEroAcademia/
ty u are awesome :) , that's what i'm thought
Today when i test reddit, it have this error
reddit: Conflicting values for 'client-id' and 'user-agent': override either both or none of them.