Scraping from site codelist.cc and auto Post to Wordpress
GPL-3.0 License
Scraping from site codelist.cc and auto Post to Wordpress
DEMO : https://imutasi.com
you must install plugin WordPress REST API Authentication
and create JWT Authetication
Link : https://wordpress.org/plugins/wp-rest-api-authentication/
change config.ts
module.exports = {
Authorization_Key: "", // this is from WordPress REST API Authentication` and create Basic Authetication
siteUrl: "https://nulled.imtaqin.id", // your wp site
howManyPages: 1, // how many pages that you will scrape , 1 is mean just 1 page
safeLinks: true, // set true to use safelink api
safeLinkUrlApi: "https://safelink?api=apikey&url=",
};
Install dependencies :
npm install
run with tsx
npx tsx main.ts
This is completly free script, and educational purpose only, i wrote this code in my freetime
feel free to contribute