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

add 'Authentication' column to supportedsites.rst

This commit is contained in:
Mike Fährmann 2017-06-15 21:06:20 +02:00
parent 8d5e92f641
commit fb1904dd59
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 190 additions and 169 deletions

View File

@ -1,167 +1,167 @@
Supported Sites
===============
+-------------------+---------------------------------------+----------------------------------------------------------+
|Site |URL |Capabilities |
+===================+=======================================+==========================================================+
|3dbooru |http://behoimi.org/ |Pools, Posts, Tag-Searches |
+-------------------+---------------------------------------+----------------------------------------------------------+
|4chan |https://www.4chan.org/ |Threads |
+-------------------+---------------------------------------+----------------------------------------------------------+
|8chan |https://8ch.net/ |Threads |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Batoto |https://bato.to/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Danbooru |https://danbooru.donmai.us/ |Pools, Posts, Tag-Searches |
+-------------------+---------------------------------------+----------------------------------------------------------+
|DeviantArt |https://www.deviantart.com/ |Deviations, Favorites, Galleries, Journals |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Doki Reader |https://kobato.hologfx.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Dynasty Reader |https://dynasty-scans.com/ |Chapters |
+-------------------+---------------------------------------+----------------------------------------------------------+
|e621 |https://e621.net/ |Pools, Posts, Tag-Searches |
+-------------------+---------------------------------------+----------------------------------------------------------+
|ExHentai |https://exhentai.org/ |Galleries |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Fallen Angels Scans|https://www.fascans.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Flickr |https://www.flickr.com/ |Images from Users, Albums, Favorites, individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Gelbooru |https://gelbooru.com/ |Posts, Tag-Searches |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Gfycat |https://gfycat.com/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|GoManga |https://gomanga.co/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|HBrowse |http://www.hbrowse.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Hentai Foundry |https://www.hentai-foundry.com/ |Images from Users, individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Hentai2Read |https://hentai2read.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|HentaiHere |https://hentaihere.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Hitomi.la |https://hitomi.la/ |Galleries |
+-------------------+---------------------------------------+----------------------------------------------------------+
|ImageBam |http://www.imagebam.com/ |Galleries, individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|ImageFap |http://imagefap.com/ |Images from Users, Galleries, individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|imgbox |https://imgbox.com/ |Galleries, individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|imgChili |https://imgchili.net/ |Albums, individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|imgth |https://imgth.com/ |Galleries |
+-------------------+---------------------------------------+----------------------------------------------------------+
|imgur |https://imgur.com/ |Albums, individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Jaimini's Box |https://jaiminisbox.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Khinsider |https://downloads.khinsider.com/ |Soundtracks |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Kirei Cake |https://reader.kireicake.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|KissComic |http://kisscomic.us/ |Comic-Issues, Comics |
+-------------------+---------------------------------------+----------------------------------------------------------+
|KissManga |http://kissmanga.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Konachan |https://konachan.com/ |Pools, Posts, Tag-Searches |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Luscious |https://luscious.net/ |Albums |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Manga Fox |http://www.mangafox.me/ |Chapters |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Manga Here |http://www.mangahere.co/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Manga Stream |https://mangastream.com/ |Chapters |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Mangapanda |http://www.mangapanda.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|MangaPark |http://mangapark.me/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Mangareader |http://www.mangareader.net/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|nhentai |https://nhentai.net/ |Galleries |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Niconico Seiga |http://seiga.nicovideo.jp |Images from Users, individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|nijie |https://nijie.info/ |Images from Users, individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Pawoo |https://pawoo.net |Images from Users, Images from Statuses |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Pinterest |https://www.pinterest.com |Boards, Pins, pin.it Links |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Pixiv |https://www.pixiv.net/ |Images from Users, Bookmarks, Favorites, Individual Images|
+-------------------+---------------------------------------+----------------------------------------------------------+
|PowerManga |https://powermanga.org/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Read Comic Online |http://readcomiconline.to/ |Comic-Issues, Comics |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Reddit |https://reddit.com/ |Submissions, Subreddits |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Rule 34 |https://rule34.xxx/ |Posts, Tag-Searches |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Safebooru |https://safebooru.org/ |Posts, Tag-Searches |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Sankaku Channel |https://chan.sankakucomplex.com/ |Tag-Searches |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Sea Otter Scans |https://reader.seaotterscans.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Sen Manga |http://raw.senmanga.com/ |Chapters |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Sense-Scans |http://sensescans.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Spectrum Nexus |http://www.thespectrum.net/manga_scans/|Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Tumblr |https://www.tumblr.com/ |Images from Users, Posts, Tag-Searches |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Twitter |https://twitter.com/ |Tweets |
+-------------------+---------------------------------------+----------------------------------------------------------+
|World Three |http://www.slide.world-three.org/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Yandere |https://yande.re/ |Pools, Posts, Tag-Searches |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Yonkou Productions |https://yonkouprod.com/ |Chapters, Manga |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Chronos |http://chronos.to/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Coreimg |http://coreimg.net/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Fapat |http://fapat.me/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Hosturimage |https://hosturimage.com/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imageontime |http://imageontime.org/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imagetwist |http://imagetwist.com/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imagevenue |http://imagevenue.com/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Img4ever |https://img4ever.net/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imgcandy |http://imgcandy.net/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imgmaid |https://imgmaid.net/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imgspice |https://imgspice.com/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imgspot |http://imgspot.org/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imgtrex |http://imgtrex.com/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imgtrial |http://imgtrial.com/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imgupload |https://imgupload.yt/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Imgyt |https://img.yt/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Picmaniac |http://pic-maniac.com/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Pixhost |https://pixhost.org/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Postimg |https://postimg.org/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Rapidimg |http://rapidimg.net/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
|Turboimagehost |http://turboimagehost.com/ |individual Images |
+-------------------+---------------------------------------+----------------------------------------------------------+
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Site |URL |Capabilities |Authentication |
+===================+=======================================+==========================================================================================+================+
|3dbooru |http://behoimi.org/ |Pools, Posts, Tag-Searches | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|4chan |https://www.4chan.org/ |Threads | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|8chan |https://8ch.net/ |Threads | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Batoto |https://bato.to/ |Chapters, Manga |Optional |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Danbooru |https://danbooru.donmai.us/ |Pools, Posts, Tag-Searches | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|DeviantArt |https://www.deviantart.com/ |Deviations, Favorites, Galleries, Journals | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Doki Reader |https://kobato.hologfx.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Dynasty Reader |https://dynasty-scans.com/ |Chapters | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|e621 |https://e621.net/ |Pools, Posts, Tag-Searches | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|ExHentai |https://exhentai.org/ |Galleries |Optional |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Fallen Angels Scans|https://www.fascans.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Flickr |https://www.flickr.com/ |Images from Users, Albums, Favorites, Galleries, Groups, individual Images, Search Results|Optional (OAuth)|
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Gelbooru |https://gelbooru.com/ |Posts, Tag-Searches | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Gfycat |https://gfycat.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|GoManga |https://gomanga.co/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|HBrowse |http://www.hbrowse.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Hentai Foundry |https://www.hentai-foundry.com/ |Images from Users, individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Hentai2Read |https://hentai2read.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|HentaiHere |https://hentaihere.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Hitomi.la |https://hitomi.la/ |Galleries | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|ImageBam |http://www.imagebam.com/ |Galleries, individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|ImageFap |http://imagefap.com/ |Images from Users, Galleries, individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|imgbox |https://imgbox.com/ |Galleries, individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|imgChili |https://imgchili.net/ |Albums, individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|imgth |https://imgth.com/ |Galleries | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|imgur |https://imgur.com/ |Albums, individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Jaimini's Box |https://jaiminisbox.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Khinsider |https://downloads.khinsider.com/ |Soundtracks | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Kirei Cake |https://reader.kireicake.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|KissComic |http://kisscomic.us/ |Comic-Issues, Comics | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|KissManga |http://kissmanga.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Konachan |https://konachan.com/ |Pools, Posts, Tag-Searches | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Luscious |https://luscious.net/ |Albums | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Manga Fox |http://www.mangafox.me/ |Chapters | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Manga Here |http://www.mangahere.co/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Manga Stream |https://mangastream.com/ |Chapters | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Mangapanda |http://www.mangapanda.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|MangaPark |http://mangapark.me/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Mangareader |http://www.mangareader.net/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|nhentai |https://nhentai.net/ |Galleries | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Niconico Seiga |http://seiga.nicovideo.jp |Images from Users, individual Images |Required |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|nijie |https://nijie.info/ |Images from Users, individual Images |Required |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Pawoo |https://pawoo.net |Images from Users, Images from Statuses | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Pinterest |https://www.pinterest.com |Boards, Pins, pin.it Links | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Pixiv |https://www.pixiv.net/ |Images from Users, Bookmarks, Favorites, Individual Images |Required |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|PowerManga |https://powermanga.org/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Read Comic Online |http://readcomiconline.to/ |Comic-Issues, Comics | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Reddit |https://reddit.com/ |Submissions, Subreddits |Optional (OAuth)|
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Rule 34 |https://rule34.xxx/ |Posts, Tag-Searches | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Safebooru |https://safebooru.org/ |Posts, Tag-Searches | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Sankaku Channel |https://chan.sankakucomplex.com/ |Tag-Searches | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Sea Otter Scans |https://reader.seaotterscans.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Sen Manga |http://raw.senmanga.com/ |Chapters | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Sense-Scans |http://sensescans.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Spectrum Nexus |http://www.thespectrum.net/manga_scans/|Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Tumblr |https://www.tumblr.com/ |Images from Users, Posts, Tag-Searches | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Twitter |https://twitter.com/ |Tweets | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|World Three |http://www.slide.world-three.org/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Yandere |https://yande.re/ |Pools, Posts, Tag-Searches | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Yonkou Productions |https://yonkouprod.com/ |Chapters, Manga | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Chronos |http://chronos.to/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Coreimg |http://coreimg.net/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Fapat |http://fapat.me/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Hosturimage |https://hosturimage.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imageontime |http://imageontime.org/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imagetwist |http://imagetwist.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imagevenue |http://imagevenue.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Img4ever |https://img4ever.net/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imgcandy |http://imgcandy.net/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imgmaid |https://imgmaid.net/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imgspice |https://imgspice.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imgspot |http://imgspot.org/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imgtrex |http://imgtrex.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imgtrial |http://imgtrial.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imgupload |https://imgupload.yt/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Imgyt |https://img.yt/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Picmaniac |http://pic-maniac.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Pixhost |https://pixhost.org/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Postimg |https://postimg.org/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Rapidimg |http://rapidimg.net/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+
|Turboimagehost |http://turboimagehost.com/ |individual Images | |
+-------------------+---------------------------------------+------------------------------------------------------------------------------------------+----------------+

View File

@ -58,12 +58,27 @@ SUBCATEGORY_MAP = {
"issue" : "Comic-Issues",
"manga" : "Manga",
"pinit" : "pin.it Links",
"search" : "Search Results",
"status" : "Images from Statuses",
"tag" : "Tag-Searches",
"user" : "Images from Users",
"work" : "Individual Images",
}
AUTH_MAP = {
"batoto" : "Optional",
"exhentai": "Optional",
"flickr" : "Optional (OAuth)",
"nijie" : "Required",
"pixiv" : "Required",
"reddit" : "Optional (OAuth)",
"seiga" : "Required",
}
IGNORE_LIST = (
"oauth",
)
class RstColumn():
@ -120,6 +135,8 @@ def build_list():
last = None
for extr in gallery_dl.extractor.extractors():
if extr.category in IGNORE_LIST:
continue
if extr.category == last or not last:
classes.append(extr)
elif last:
@ -132,8 +149,8 @@ def build_list():
for extrlist in extractors:
extrlist.sort(key=subcategory_key)
for extr in extrlist:
extr.category = map_category(extr.category)
extr.subcat = map_subcategory(extr.subcategory)
extr.cat = map_category(extr.category)
extr.subcat = map_subcategory(extr.subcategory)
extractors.sort(key=category_key)
return extractors
@ -162,7 +179,7 @@ def map_subcategory(sc):
def category_key(extrlist):
key = extrlist[0].category.lower()
key = extrlist[0].cat.lower()
if len(extrlist) == 1 and extrlist[0].__module__.endswith(".imagehosts"):
key = "zz" + key
return key
@ -177,7 +194,7 @@ def subcategory_key(cls):
extractors = build_list()
columns = [
RstColumn("Site", [
extrlist[0].category
extrlist[0].cat
for extrlist in extractors
]),
RstColumn("URL", [
@ -188,6 +205,10 @@ columns = [
", ".join(extr.subcat for extr in extrlist)
for extrlist in extractors
]),
RstColumn("Authentication", [
AUTH_MAP.get(extrlist[0].category, "")
for extrlist in extractors
]),
]
outfile = sys.argv[1] if len(sys.argv) > 1 else "supportedsites.rst"