Nexchan commited on
Commit
36c6836
·
verified ·
1 Parent(s): 02d142f

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +3 -1
index.js CHANGED
@@ -235,7 +235,9 @@ async function E_Hentai(url) {
235
  if (noClassTds > 0) {
236
  // Jika ada td tanpa kelas, ambil gambar untuk setiap halaman
237
  for (let i = 1; i <= noClassTds; i++) {
238
- const response = await axios.get(`${url}?p=${i - 1}`, { headers: {
 
 
239
  'User-Agent': 'Mozilla/5.0 (Linux; Android 6.0.1; SM-N916S Build/MMB29K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/106.0.5249.126 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/389.0.0.42.111;]',
240
  'Referer': url,
241
  }});
 
235
  if (noClassTds > 0) {
236
  // Jika ada td tanpa kelas, ambil gambar untuk setiap halaman
237
  for (let i = 1; i <= noClassTds; i++) {
238
+ let newUrl = `${url}?p=${i - 1}`;
239
+ console.log(newUrl)
240
+ const response = await axios.get(newUrl, { headers: {
241
  'User-Agent': 'Mozilla/5.0 (Linux; Android 6.0.1; SM-N916S Build/MMB29K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/106.0.5249.126 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/389.0.0.42.111;]',
242
  'Referer': url,
243
  }});