@@ -13,7 +13,7 @@ if (userConfig.authorization) {
1313}
1414
1515async function setMangaListFilterOptions ( ) {
16- const url = 'https://api.mangacopy .com/api/v3/h5/filter/comic/tags' ;
16+ const url = 'https://www.copy20 .com/api/v3/h5/filter/comic/tags' ;
1717 try {
1818 let result = [ {
1919 label : '主题' ,
@@ -68,7 +68,7 @@ async function setMangaListFilterOptions() {
6868
6969async function getMangaListByRecommend ( page , pageSize ) {
7070 const url =
71- 'https://api.mangacopy .com/api/v3/recs' ;
71+ 'https://www.copy20 .com/api/v3/recs' ;
7272 try {
7373 const rawResponse = await window . Rulia . httpRequest ( {
7474 url : url ,
@@ -133,7 +133,7 @@ async function getMangaListByCategory(page, pageSize, filterOptions) {
133133 } else if ( filterOptions . theme == 'bookshelf' ) {
134134 return await getMangaListByBookshelf ( page , pageSize ) ;
135135 } else {
136- const url = 'https://api.mangacopy .com/api/v3/comics' ;
136+ const url = 'https://www.copy20 .com/api/v3/comics' ;
137137 try {
138138 let theme = '' ;
139139 let top = '' ;
@@ -172,7 +172,7 @@ async function getMangaListByCategory(page, pageSize, filterOptions) {
172172
173173async function getMangaListBySearching ( page , pageSize , keyword ) {
174174 const url =
175- 'https://api.mangacopy .com/api/v3/search/comic' ;
175+ 'https://www.copy20 .com/api/v3/search/comic' ;
176176 try {
177177 const rawResponse = await window . Rulia . httpRequest ( {
178178 url : url ,
@@ -210,8 +210,8 @@ async function getMangaList(page, pageSize, keyword, rawFilterOptions) {
210210async function getMangaData ( dataPageUrl ) {
211211 const seasonIdMatchExp = / \/ c o m i c \/ ( .* ) / ;
212212 const seasonIdMatch = dataPageUrl . match ( seasonIdMatchExp ) ;
213- const detailUrl = 'https://api.mangacopy .com/api/v3/comic2/' + seasonIdMatch [ 1 ] ;
214- const chapterListUrl = 'https://api.mangacopy .com/api/v3/comic/' + seasonIdMatch [ 1 ] + '/group/default/chapters' ;
213+ const detailUrl = 'https://www.copy20 .com/api/v3/comic2/' + seasonIdMatch [ 1 ] ;
214+ const chapterListUrl = 'https://www.copy20 .com/api/v3/comic/' + seasonIdMatch [ 1 ] + '/group/default/chapters' ;
215215 try {
216216 const detailRawResponse = await window . Rulia . httpRequest ( {
217217 url : detailUrl ,
@@ -250,7 +250,7 @@ async function getMangaData(dataPageUrl) {
250250async function getChapterImageList ( chapterUrl ) {
251251 const episodeIdMatchExp = / h t t p s ? : \/ \/ w w w \. m a n g a c o p y \. c o m \/ c o m i c \/ ( [ a - z A - Z 0 - 9 _ - ] + ) \/ c h a p t e r \/ ( [ 0 - 9 a - f - ] + ) / ;
252252 const episodeIdMatch = chapterUrl . match ( episodeIdMatchExp ) ;
253- const url = 'https://api.mangacopy .com/api/v3/comic/' + episodeIdMatch [ 1 ] + '/chapter2/' + episodeIdMatch [ 2 ] ;
253+ const url = 'https://www.copy20 .com/api/v3/comic/' + episodeIdMatch [ 1 ] + '/chapter2/' + episodeIdMatch [ 2 ] ;
254254 const rawResponse = await window . Rulia . httpRequest ( {
255255 url : url ,
256256 method : 'GET' ,
0 commit comments