Skip to main content

Finds similar songs

Project description

Finds similar songs

Tested against Windows 10 / Python 3.10 / Anaconda

pip install sposong

Args:
	allplaylists (list): A list of Spotify playlist URLs to scrape data from.
	savefolder (str): The folder where the scraped data will be saved as Excel files.
	opera_browser_exe (str): The path to the Opera GX browser executable.
	opera_driver_exe (str): The path to the Opera WebDriver executable.
	userdir (str): The path to the user directory for the Opera browser.

Returns:
	None: The scraped data is saved as Excel files in the specified 'savefolder'.

Example Usage:
	parse_artists(
		allplaylists=[
			'https://open.spotify.com/playlist/3DBZUCUA2w8JcE8mBA0wUB',
			'https://open.spotify.com/playlist/37i9dQZF1DWZLiXDryu4Fe',
			'https://open.spotify.com/playlist/6DSfG4qBWdpaNK9PclUeAI',
			'https://open.spotify.com/playlist/37i9dQZF1DXdSjVZQzv2tl',
			'https://open.spotify.com/playlist/1XhfOTC9d3VwyJrS3EW8iW'
		],
		savefolder="c:\\savedmusic",
		opera_browser_exe=r"C:\Program Files\Opera GX\opera.exe",
		opera_driver_exe=r"C:\ProgramData\anaconda3\envs\dfdir\operadriver.exe",
		userdir="c:\\operabrowserprofile2"
	)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sposong-0.10.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

sposong-0.10-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page