johnwmillr / LyricsGenius

Download song lyrics and metadata from Genius.com 🎶🎤
http://www.johnwmillr.com/scraping-genius-lyrics/
MIT License
915 stars 161 forks source link

Move the search option flags to class vars #56

Closed johnwmillr closed 6 years ago

johnwmillr commented 6 years ago

This PR moves the verbose, remove_section_headers, and skip_non_songs parameters that were previously option on the search_song and search_artist methods to the Genius class itself.

Instead of adding these optional parameters to each search, it makes more sense for the user to set the values once when they create an instance of the Genius class. Of course, the parameters can be changed even after the class has been instantiated.