@@ -56,18 +56,13 @@ struct Defaults {
5656 struct URL {
5757 // Domains
5858 static var host : String {
59- if isTokenMatched {
60- return galleryType == . ehentai ? ehentai : exhentai
61- } else {
62- return durarara
63- }
59+ galleryType == . ehentai ? ehentai : exhentai
6460 }
6561 static let ehentai = " https://e-hentai.org/ "
6662 static let exhentai = " https://exhentai.org/ "
6763 static let forum = " https://forums.e-hentai.org/ "
6864 static let login = merge ( [ forum + index, loginAct] )
6965 static let magnet = " magnet:?xt=urn:btih: "
70- static let durarara = merge ( [ ehentai, listCompact, nonh, fSearch + " parody:durarara$ " ] )
7166
7267 // Functional Pages
7368 static let tag = " tag/ "
@@ -152,21 +147,13 @@ extension Defaults.URL {
152147 )
153148 }
154149 static func frontpageList( ) -> String {
155- if isTokenMatched {
156- return merge ( [ host, listCompact] )
157- } else {
158- return durarara
159- }
150+ merge ( [ host, listCompact] )
160151 }
161152 static func moreFrontpageList( pageNum: String , lastID: String ) -> String {
162153 merge ( [ host, listCompact, page + pageNum, from + lastID] )
163154 }
164155 static func popularList( ) -> String {
165- if isTokenMatched {
166- return merge ( [ host + popular, listCompact] )
167- } else {
168- return merge ( [ ehentai, listCompact, nonh, fSearch + " parody:gintama$ " ] )
169- }
156+ merge ( [ host + popular, listCompact] )
170157 }
171158 static func watchedList( ) -> String {
172159 merge ( [ host + watched, listCompact] )
0 commit comments