mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 20:39:08 +00:00
Scrape YouTube by default and optionally use YouTube API to perform searches (#250)
* YouTube scraping * Cleanup GenerateYouTubeURL class * Some minor improvements * Add test to fetch title with and without api key
This commit is contained in:
@@ -170,6 +170,7 @@ def download_single(raw_song, number=None):
|
||||
if __name__ == '__main__':
|
||||
const.args = handle.get_arguments()
|
||||
internals.filter_path(const.args.folder)
|
||||
youtube_tools.set_api_key()
|
||||
|
||||
const.log = const.logzero.setup_logger(formatter=const.formatter,
|
||||
level=const.args.log_level)
|
||||
|
||||
Reference in New Issue
Block a user