This repository was archived by the owner on Nov 20, 2021. It is now read-only.
File tree 4 files changed +8
-7
lines changed
4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const BASE = "https://danke.moe"
5
5
6
6
export const DankeFursInfo : SourceInfo = {
7
7
icon : "icon.png" ,
8
- version : "1.1.1 " ,
8
+ version : "1.1.2 " ,
9
9
name : "DankeFurs" ,
10
10
author : "PythonCoderAS" ,
11
11
authorWebsite : "https://github.com/PythonCoderAS" ,
Original file line number Diff line number Diff line change @@ -162,9 +162,9 @@ export abstract class GuyaTemplate extends Source {
162
162
const data = await this . requestManager . schedule ( request , 1 )
163
163
164
164
let result : { [ key : string ] : { [ name : string ] : any } } = typeof data . data === "string" ? JSON . parse ( data . data ) : data . data
165
- let result2 = [ ... ( Object . values ( result ) ) ] ;
165
+ let result2 = Object . entries ( result ) ;
166
166
result2 . sort ( ( a , b ) => {
167
- return b [ "last_updated" ] - a [ "last_updated" ] ;
167
+ return b [ 1 ] [ "last_updated" ] - a [ 1 ] [ "last_updated" ] ;
168
168
} )
169
169
170
170
let mangas = [ ]
@@ -181,8 +181,9 @@ export abstract class GuyaTemplate extends Source {
181
181
homeSection . items = mangas
182
182
183
183
let mangas2 = [ ]
184
- for ( let series in result2 ) {
185
- let seriesDetails = result2 [ series ]
184
+ for ( let i : number = 0 ; i < result2 . length ; i ++ ) {
185
+ let series = result2 [ i ] [ 0 ]
186
+ let seriesDetails = result2 [ i ] [ 1 ]
186
187
mangas2 . push (
187
188
createMangaTile ( {
188
189
id : seriesDetails [ "slug" ] ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const BASE = "https://hachirumi.com"
5
5
6
6
export const HachirumiInfo : SourceInfo = {
7
7
icon : "icon.png" ,
8
- version : "1.0.1 " ,
8
+ version : "1.0.2 " ,
9
9
name : "Hachirumi" ,
10
10
author : "PythonCoderAS" ,
11
11
authorWebsite : "https://github.com/PythonCoderAS" ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const BASE = "https://mahoushoujobu.com"
5
5
6
6
export const MahouShoujoBuInfo : SourceInfo = {
7
7
icon : "icon.png" ,
8
- version : "1.0.4 " ,
8
+ version : "1.0.5 " ,
9
9
name : "MahouShoujoBu" ,
10
10
author : "PythonCoderAS" ,
11
11
authorWebsite : "https://github.com/PythonCoderAS" ,
You can’t perform that action at this time.
0 commit comments