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'; | |
/** | |
* WebMusicScraper | |
* A class for scraping search results and download options from WebMusic. | |
* | |
* @author synshin9 | |
*/ | |
class WebMusicScraper { |
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"; | |
/** | |
* MP3Scraper | |
* A class for scraping music data from mp3.pm (search, popular, genres). | |
* | |
* @author synshin9 | |
*/ | |
class MP3Scraper { |
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"; | |
/** | |
* Latest news scrap from Viva Sulawesi | |
* @author synshin9 | |
* @returns {Promise<Array<Object>>} Array of news articles | |
*/ | |
async function SulawesiNews() { | |
try { |