ChartScraper

class mchartanalyzer.chartscraper.ChartScraper[source]
__weakref__

list of weak references to the object (if defined)

_isUrlValidTarget(url)[source]

Returns true when the given URL hasn’t been scraped before, or if it was scraped a while ago. For our purposes, 30 days is the cooldown time for a URL.

scrape(artistName)[source]

Scrapes websites for song charts by a given artist, then feeds that information to the parser. After scraping is complete, the parser analysis is triggered.