Skip to content

Commit

Permalink
rough fix novelpub
Browse files Browse the repository at this point in the history
  • Loading branch information
K1ngfish3r authored Oct 13, 2023
1 parent 07b9e19 commit eeb84d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sources/en/novelpub.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit eeb84d6

Please sign in to comment.