Example: Psychedelic Rock
Scrapers always check for a local copy of the target resource (using Scraper.checkForLocalRecord) before executing a scrape from an external resource. If the resource was found (and therefore no external calls made), this is set to true.
A simple, human-readble description of what is being scraped. Used for logging.
TypeORM repository handling all data flow in/out of genre table
Contains all results generated by Scraper.scrape, including recursive calls.
Flag indicating a sucessful scrape, set to true after non-error-throwing call to Scraper.scrape.
Used to override .env settings and force-log the output of a given scraper.
Extracts information from a scraped resource synchronously
Find this genre's database entity
Simple CLI reporting tool for debugging unsuccessful scrapes
Requests and stores an external resource, to be parsed later by Scraper.extractInfo. By default, nothing is requested.
Entry point for initiating an asset scrape. General scrape outline/method order:
If set to true, scrapes the external resource regardless of any existing local records
Executes Scraper.scrape on any recursive scrapes found in the initial scrape. Defaults to simply resolving an empty promise, so subclasses with no dependencies don't have to implement this function. See Scraper.scrape for more information on implementation.
the entity that was saved
Intercepts any errors thrown by Scraper.scrape
Generate a list of GenreScrapers from an array of genre names
Scrape the genres associated with this artist
Generated using TypeDoc
Manages the scraping and storage of a genre from Rate Your Music.
Unlike other RYM scrapes, nothing is actually being pulled from a webpage. Therefore, extends Scraper, not RymScraper However, it is still convenient to use the scraper superclass to keep everything consistent, without the unnecessary overhead of RymScraper.