Nandaka / DanbooruDownloader

*booru image downloader
http://nandaka.devnull.zone/
390 stars 38 forks source link

danbooru downloader stop working for sankaku complex #77

Closed naruhina2016 closed 8 years ago

naruhina2016 commented 8 years ago

well as the title says all, whenever i try to download tags from sankaku complex danbooru automatically stop working. please tell what to do to fix this problem?

Nandaka commented 8 years ago

most likely they change the layout for the tag page. I don't recommend to download tags xml from sankaku, as it will take thousands pages.

naruhina2016 commented 8 years ago

but now i have another problem i was trying to download love live school idol project images from sankaku complex via but after 999 download it notified me that the batch is done which is not true and show it in red untitled

i hope you can help me to fix my problem

SomeonefromArg commented 8 years ago

You need to add your account, there's a limit for non-registered users in sankaku

naruhina2016 commented 8 years ago

how can i add my account?

SomeonefromArg commented 8 years ago

On the main tab go to Edit, choose Sankaku Complex as provider, fill UserName and Password and choose UserPass as LoginType

Nandaka commented 8 years ago

@naruhina2016 : check the readme regarding sankaku login

naruhina2016 commented 8 years ago

it still gives me the same thing and where can i find sankaku login on readme?

Nandaka commented 8 years ago

Q7: How to login to Gelbooru/Sankaku/get cookie value? A7: Follow this step:

  1. Press F12 on your Chrome browser and select Network tab.
  2. Go to the booru site and login.
  3. Click one of the entry and copy the Cookie value from the Request Header. For gelbooru, it should like this: user_id=; pass_hash= For sankaku, login=; pass_hash=;
  4. Paste the Cookie value to the Username field.
  5. Set Login Type to Cookie.
  6. Set Use Auth to True. Refer to http://i.imgur.com/rCCjnPs.png
naruhina2016 commented 8 years ago

which one is auth?

Nandaka commented 8 years ago

For sankaku, login=username; pass_hash=something;

or just copy the whole cookies and paste it to the box like in here: http://i.imgur.com/rCCjnPs.png

Nandaka commented 8 years ago

My mistake, remove the last line.

Q7: How to login to Gelbooru/Sankaku/get cookie value? A7: Follow this step:

  1. Press F12 on your Chrome browser and select Network tab.
  2. Go to the booru site and login.
  3. Click one of the entry and copy the Cookie value from the Request Header. For gelbooru, it should like this: user_id=; pass_hash= For sankaku, login=; pass_hash=;
  4. Paste the Cookie value to the Username field.
  5. Set Login Type to Cookie. Refer to http://i.imgur.com/rCCjnPs.png
naruhina2016 commented 8 years ago

but where can i find auth?

Nandaka commented 8 years ago

No more auth, just get the cookie (read answer above).

naruhina2016 commented 8 years ago

sorry for the late late reply but no matter what i do it doesn't work..:( i've copied the whole login cookie for sankaku but nothing happens?

Nandaka commented 8 years ago

can you show me your config for the provider?

naruhina2016 commented 8 years ago

untitled

well here you go mate

Nandaka commented 8 years ago

well, that's your problem, you didn;t select the login type and fill in the cookie. image

naruhina2016 commented 8 years ago

no the reason why didn't do it bcause i've download it again so thats why its blank but still i've tried but it doesn't work

Nandaka commented 8 years ago

change http to https?

naruhina2016 commented 8 years ago

yes it worked thanks...xD

naruhina2016 commented 8 years ago

it worked but it didn't go quite well for sankaku complex i was trying to download animated gifs/videos it went well but after 9000+ it stopped download any further instead of being green when complete it went red like it was an error

Nandaka commented 8 years ago

There should be a log file in the application folder (e.g. log-2016-05-31.txt), can you check what is the error? I never download to 9000+ pages before, so I'm not sure what causing it. Also Sankaku use customized danbooru, so might have some weird behaviour.

naruhina2016 commented 8 years ago

what do you mean customized danbooru?. and i have checked the log file but i cant seems to find the error that i was suppose to find.

Nandaka commented 8 years ago

sankaku danbooru doesn't follow the same standard with normal danbooru.

naruhina2016 commented 8 years ago

aha i see so what can i do to download more pics from sankaku complex?

Nandaka commented 8 years ago

They limit to 1000 pages. If you open the page, it will return:

Error: You can only view up to 1000 pages of results