1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[mastodon] add access tokens for mastodon.social and baraag.net

(closes #665)
This commit is contained in:
Mike Fährmann 2020-04-02 22:34:32 +02:00
parent ff7c0b7eff
commit 2587296deb
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
3 changed files with 16 additions and 0 deletions

View File

@ -18,6 +18,7 @@ arch.b4k.co https://arch.b4k.co/ Threads
Archive of Sins https://archiveofsins.com/ Threads
Archived.Moe https://archived.moe/ Threads
ArtStation https://www.artstation.com/ |artstation-C|
baraag https://baraag.net/ Images from Statuses, User Profiles
Behance https://www.behance.net/ Collections, Galleries, User Profiles
Blogger https://www.blogger.com/ Blogs, Posts
BobX http://www.bobx.com/dark/ Galleries, Idols
@ -77,6 +78,7 @@ Mangapanda https://www.mangapanda.com/ Chapters, Manga
MangaPark https://mangapark.net/ Chapters, Manga
Mangareader https://www.mangareader.net/ Chapters, Manga
Mangoxo https://www.mangoxo.com/ Albums, Channels Optional
mastodon.social https://mastodon.social/ Images from Statuses, User Profiles
Naver https://blog.naver.com/ Blogs, Posts
Newgrounds https://www.newgrounds.com/ |newgrounds-C| Optional
Ngomik http://ngomik.in/ Chapters

View File

@ -189,6 +189,12 @@ def generate_extractors():
EXTRACTORS = {
"mastodon.social": {
"category" : "mastodon.social",
"access-token" : "Y06R36SMvuXXN5_wiPKFAEFiQaMSQg0o_hGgc86Jj48",
"client-id" : "dBSHdpsnOUZgxOnjKSQrWEPakO3ctM7HmsyoOd4FcRo",
"client-secret": "DdrODTHs_XoeOsNVXnILTMabtdpWrWOAtrmw91wU1zI",
},
"pawoo.net": {
"category" : "pawoo",
"access-token" : "286462927198d0cf3e24683e91c8259a"
@ -198,6 +204,12 @@ EXTRACTORS = {
"client-secret": "e45bef4bad45b38abf7d9ef88a646b73"
"75e7fb2532c31a026327a93549236481",
},
"baraag.net": {
"category" : "baraag",
"access-token" : "53P1Mdigf4EJMH-RmeFOOSM9gdSDztmrAYFgabOKKE0",
"client-id" : "czxx2qilLElYHQ_sm-lO8yXuGwOHxLX9RYYaD0-nq1o",
"client-secret": "haMaFdMBgK_-BIxufakmI2gFgkYjqmgXGEO2tB-R2xY",
},
}

View File

@ -18,6 +18,7 @@ CATEGORY_MAP = {
"archiveofsins" : "Archive of Sins",
"artstation" : "ArtStation",
"b4k" : "arch.b4k.co",
"baraag" : "baraag",
"bcy" : "半次元",
"bobx" : "BobX",
"deviantart" : "DeviantArt",
@ -55,6 +56,7 @@ CATEGORY_MAP = {
"mangahere" : "Manga Here",
"mangapark" : "MangaPark",
"mangastream" : "Manga Stream",
"mastodon.social": "mastodon.social",
"myportfolio" : "Adobe Portfolio",
"nhentai" : "nhentai",
"nijie" : "nijie",