diff --git a/lib/routes/amazfitwatchfaces/utils.js b/lib/routes/amazfitwatchfaces/utils.js index 008e95e76..333a3bdc6 100644 --- a/lib/routes/amazfitwatchfaces/utils.js +++ b/lib/routes/amazfitwatchfaces/utils.js @@ -4,9 +4,11 @@ const cheerio = require('cheerio'); module.exports = async (ctx, currentUrl) => { const rootUrl = `https://amazfitwatchfaces.com/`; + currentUrl = `${rootUrl}${currentUrl}`; + const response = await got({ method: 'get', - url: `${rootUrl}${currentUrl}`, + url: currentUrl, }); const $ = cheerio.load(response.data); const list = $('#wf-row div.col-md-3')