This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Ini Scrape Nya Yah | |
| import axios from "axios" | |
| import * as cheerio from "cheerio" | |
| async function dy(url) { | |
| try { | |
| const res = await axios.post( | |
| "https://lovetik.app/api/ajaxSearch", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import axios from "axios" | |
| import * as cheerio from "cheerio" | |
| async function loveTik(url) { | |
| const res = await axios.post( | |
| "https://lovetik.app/api/ajaxSearch", | |
| new URLSearchParams({ q: url, lang: "id" }), | |
| { | |
| headers: { | |
| "content-type": "application/x-www-form-urlencoded; charset=UTF-8", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ../scraper/anoboy.js | |
| import axios from 'axios'; | |
| import * as cheerio from 'cheerio'; | |
| // Function to search for anime on Anoboy | |
| export async function searchAnime(query) { | |
| let { data } = await axios.get(`https://anoboy.li/?s=${query}`); | |
| let $ = cheerio.load(data); | |
| let results = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // const axios = require('axios'); | |
| import axios from 'axios'; | |
| async function openAI(prompt) { | |
| let apiKey = [ | |
| '662413cf9b2e4a09b8175abf38853f1c', | |
| 'e7956e69c5634672982005bde27e9223', | |
| '077cf44364ac4c32b8263482ef4371f1', | |
| '53f034d6af90448eb08b9fd57306ca15', | |
| '99fca1d1f66c49f19ff5d62a06c5469c', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import axios from 'axios' | |
| async function animeFilter(image) { | |
| return new Promise(async (resolve, reject) => { | |
| axios("https://akhaliq-animeganv2.hf.space/api/queue/push/", { | |
| headers: { | |
| "Content-Type": "application/json", | |
| "User-Agent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Mobile Safari/537.36" | |
| }, | |
| data: { |