forked from DebaucheryLibrarian/traxxx
Added include and exclude config options. Moved network definitions to dedicated file. Scraping all XEmpire sites. Added definitions for Perv City.
This commit is contained in:
17
src/scrapers/pervcity.js
Normal file
17
src/scrapers/pervcity.js
Normal file
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
const bhttp = require('bhttp');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
async function fetchReleases(site) {
|
||||
// const session = bhttp.session();
|
||||
return {};
|
||||
|
||||
console.log(site.url, site.parameters.tourId)
|
||||
|
||||
const res = await bhttp.get(`${site.url}/final_latestupdateview.php&limitstart=0&limitend=9&websiteid=0&deviceview=browser&tourId=${site.parameters.tourId}`);
|
||||
|
||||
console.log(res.body.toString());
|
||||
}
|
||||
|
||||
module.exports = fetchReleases;
|
||||
Reference in New Issue
Block a user