Skip to content

Commit

Permalink
foolslide, add category
Browse files Browse the repository at this point in the history
  • Loading branch information
kmvi committed Feb 13, 2018
1 parent be27769 commit 6c79bef
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 35 deletions.
6 changes: 3 additions & 3 deletions config/mangalist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ DBDownloadURL=https://sourceforge.net/projects/newfmd/files/data/<website>.7z/do

[available]
Arabic=GManga,MangaAe,Mangaf
English=Authrone,Batoto,EatManga,EyeOnManga,FunManga,GoManga,GoodManga,HeyManga,KissManga,Madokami,MangaBackup,MangaCool,MangaDeep,Mangadex,MangaEden,MangaFox,MangaGo,MangaHere,MangaHome,MangaInn,Mangakakalot,MangaLife,MangaPanda,MangaPark,MangaReader,MangaRock,MangaSaurus,MangaSee,MangaStreamTo,MangaTown,MangaTraders,MangaOnlineTo,MangaSail,MangaTail,MangaWindow,MyMangaMe,NineManga,ReadMangaToday,ReadComicOnline,SenManga,Webtoons,ReadComics,Taadd
English=Authrone,Batoto,EatManga,EyeOnManga,FunManga,GoodManga,HeyManga,KissManga,Madokami,MangaBackup,MangaCool,MangaDeep,Mangadex,MangaEden,MangaFox,MangaGo,MangaHere,MangaHome,MangaInn,Mangakakalot,MangaLife,MangaPanda,MangaPark,MangaReader,MangaRock,MangaSaurus,MangaSee,MangaStreamTo,MangaTown,MangaTraders,MangaOnlineTo,MangaSail,MangaTail,MangaWindow,MyMangaMe,NineManga,ReadMangaToday,ReadComicOnline,SenManga,Webtoons,ReadComics,Taadd
Italian=MangaEden_IT,NineMangaIT
English-Scanlation=AtelierDuNoir,ChampionScans,DokiFansubs,Dynasty-Scans,GameofScanlation,HelveticaScans,HotChocolateScans,LetItGoScans,Mangacow,MangaZuki,OneTimeScans,PsychoPlay,S2Scans,SenseScans,Shoujosense,TripleSevenScan,Jaiminisbox,PowerManga,KireiCake,WhiteoutScans,WorldThree
English-Scanlation=Dynasty-Scans,GameofScanlation,Mangacow,MangaZuki,PsychoPlay
French=AnimeStory,Japan-Shin,Japscan,ScanManga
German=MangaTube,NineMangaDE,WieManga
Indonesian=Komikid,Mangacan,MangaIndo,MangaKita,MangaKu,MangaShiro,Mangavy,PecintaKomik,Subapics
Expand All @@ -16,7 +16,7 @@ Portugues=CentralDeMangas,MangaHost,MangaOnlineBR,MangaREADER_POR,NineMangaBR,Un
Raw=Lhscans,RawSenManga,SundayWebEvery,Comico,TonarinoYoungJump,YoungAceUp,NewType,MangaZukiRaws
Russian=MangaChanRU,MintMangaRU,NineMangaRU,ReadMangaRU,MangaHubRU
Spanish=AnimExtremist,KuManga,LeoManga,NineMangaES,SekaiManga,SubManga,Tumangaonline
Spanish-Scanlation=DangoOnlineNoFansub,DejameProbar,HoshinoFansub,KirishimaFansub,MenudoFansub,NeoProjectScan,NoraNoFansub,Pzykosis666HFansub,RavensScans,SantosScan,SeinagiFansub,SeinagiAdultoFansub,SolitarioNoFansub,YamiTenshiNoFansub
Spanish-Scanlation=
Thai=MangaBoom
Turkish=MangaOku,Manga-Tr,Puzzmos,WebtoonTr
Vietnamese=AcademyVN,BlogTruyen,TruyenTranhTuan,VnSharing
Expand Down
67 changes: 35 additions & 32 deletions lua/modules/FoOlSlide.lua
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,11 @@ function getnameandlink()
return result
end

function AddWebsiteModule(name, url)
function AddWebsiteModule(name, url, category)
local m = NewModule()
m.website = name
m.rooturl = url
m.category = category
m.lastupdated = 'february, 6 2018'
m.ongetinfo = 'getinfo'
m.OnTaskStart = 'taskstart'
Expand All @@ -189,37 +190,39 @@ function AddWebsiteModule(name, url)
end

function Init()
AddWebsiteModule('PowerManga', 'http://read.powermanga.org')
AddWebsiteModule('Shoujosense', 'http://reader.shoujosense.com')
AddWebsiteModule('GoManga', 'http://gomanga.co')
AddWebsiteModule('OneTimeScans', 'http://otscans.com')
AddWebsiteModule('SenseScans', 'http://reader.sensescans.com')
AddWebsiteModule('Jaiminisbox', 'https://jaiminisbox.com')
AddWebsiteModule('KireiCake', 'https://reader.kireicake.com')
AddWebsiteModule('HelveticaScans', 'http://helveticascans.com')
AddWebsiteModule('WhiteoutScans', 'http://reader.whiteoutscans.com')
AddWebsiteModule('DokiFansubs', 'https://kobato.hologfx.com')
AddWebsiteModule('AtelierDuNoir', 'http://atelierdunoir.org')
AddWebsiteModule('ChampionScans', 'http://reader.championscans.com')
AddWebsiteModule('WorldThree', 'http://www.slide.world-three.org')
AddWebsiteModule('S2Scans', 'https://reader.s2smanga.com')
AddWebsiteModule('HotChocolateScans', 'http://hotchocolatescans.com')
AddWebsiteModule('LetItGoScans', 'http://reader.letitgo.scans.today')
local cat = 'English-Scanlation'
AddWebsiteModule('PowerManga', 'http://read.powermanga.org', cat)
AddWebsiteModule('Shoujosense', 'http://reader.shoujosense.com', cat)
AddWebsiteModule('GoManga', 'http://gomanga.co', 'English')
AddWebsiteModule('OneTimeScans', 'http://otscans.com', cat)
AddWebsiteModule('SenseScans', 'http://reader.sensescans.com', cat)
AddWebsiteModule('Jaiminisbox', 'https://jaiminisbox.com', cat)
AddWebsiteModule('KireiCake', 'https://reader.kireicake.com', cat)
AddWebsiteModule('HelveticaScans', 'http://helveticascans.com', cat)
AddWebsiteModule('WhiteoutScans', 'http://reader.whiteoutscans.com', cat)
AddWebsiteModule('DokiFansubs', 'https://kobato.hologfx.com', cat)
AddWebsiteModule('AtelierDuNoir', 'http://atelierdunoir.org', cat)
AddWebsiteModule('ChampionScans', 'http://reader.championscans.com', cat)
AddWebsiteModule('WorldThree', 'http://www.slide.world-three.org', cat)
AddWebsiteModule('S2Scans', 'https://reader.s2smanga.com', cat)
AddWebsiteModule('HotChocolateScans', 'http://hotchocolatescans.com', cat)
AddWebsiteModule('LetItGoScans', 'http://reader.letitgo.scans.today', cat)
AddWebsiteModule('TripleSevenScan', 'http://triplesevenscans.com', cat)

-- es-sc
AddWebsiteModule('DangoOnlineNoFansub', 'http://lector.dangolinenofansub.com')
AddWebsiteModule('DejameProbar', 'http://dejameprobar.es')
AddWebsiteModule('HoshinoFansub', 'http://manga.animefrontline.com')
AddWebsiteModule('MenudoFansub', 'http://www.menudo-fansub.com')
AddWebsiteModule('NeoProjectScan', 'http://npscan.mangaea.net')
AddWebsiteModule('Pzykosis666HFansub', 'http://pzykosis666hfansub.com')
AddWebsiteModule('SantosScan', 'http://santosfansub.com')
AddWebsiteModule('SeinagiFansub', 'http://seinagi.org')
AddWebsiteModule('SeinagiAdultoFansub', 'http://adulto.seinagi.org')
AddWebsiteModule('SolitarioNoFansub', 'http://snf.mangaea.net')
AddWebsiteModule('TripleSevenScan', 'http://triplesevenscans.com')
AddWebsiteModule('RavensScans', 'http://ravens-scans.com')
AddWebsiteModule('KirishimaFansub', 'http://lector.kirishimafansub.com')
AddWebsiteModule('NoraNoFansub', 'https://www.noranofansub.com')
AddWebsiteModule('YamiTenshiNoFansub', 'http://lector.ytnofan.com')
cat = 'Spanish-Scanlation'
AddWebsiteModule('DangoOnlineNoFansub', 'http://lector.dangolinenofansub.com', cat)
AddWebsiteModule('DejameProbar', 'http://dejameprobar.es', cat)
AddWebsiteModule('HoshinoFansub', 'http://manga.animefrontline.com', cat)
AddWebsiteModule('MenudoFansub', 'http://www.menudo-fansub.com', cat)
AddWebsiteModule('NeoProjectScan', 'http://npscan.mangaea.net', cat)
AddWebsiteModule('Pzykosis666HFansub', 'http://pzykosis666hfansub.com', cat)
AddWebsiteModule('SantosScan', 'http://santosfansub.com', cat)
AddWebsiteModule('SeinagiFansub', 'http://seinagi.org', cat)
AddWebsiteModule('SeinagiAdultoFansub', 'http://adulto.seinagi.org', cat)
AddWebsiteModule('SolitarioNoFansub', 'http://snf.mangaea.net', cat)
AddWebsiteModule('RavensScans', 'http://ravens-scans.com', cat)
AddWebsiteModule('KirishimaFansub', 'http://lector.kirishimafansub.com', cat)
AddWebsiteModule('NoraNoFansub', 'https://www.noranofansub.com', cat)
AddWebsiteModule('YamiTenshiNoFansub', 'http://lector.ytnofan.com', cat)
end

1 comment on commit 6c79bef

@riderkick
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good. Category is property of TModuleContainer. So pascal modules also should use this property. We can change them gradually when fixing the bugs in the future or whenever we have a time for that.
We should cleanup mangalist.ini and just leave it as container for database url.

Please sign in to comment.