diff --git a/src/sources/en/novelpub.js b/src/sources/en/novelpub.js index fb600f6e9..59586dada 100644 --- a/src/sources/en/novelpub.js +++ b/src/sources/en/novelpub.js @@ -6,11 +6,13 @@ const baseUrl = 'https://www.novelpub.com/'; const sourceName = 'NovelPub'; const sourceId = 94; +const userAgent = + 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36'; + const headers = new Headers({ Accept: 'application/json', 'Content-Type': 'application/json', - 'User-Agent': - 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36', + 'User-Agent': userAgent, }); const popularNovels = async page => {