listentoeverything
Scrapes good music off Reddit, makes a spotify playlist
Installation and Usage
via pip:
pip install listentoeverything
via source:
git clone git@github.com:happykhan/listentoeverything.git
cd listentoeverything
pip install -r requirements.txt
Then run:
python listentoeverything/cli.py --config_file <config_file.yml>
Configuration
You will need to sign up to the Spotify API and reddit API.
They will issue you with various authorisation keys which you need to specify in the config file (default location is ~/.listen).
reddit:
client_id: <Your key>
client_secret: <Your key>
user_agent: listenonspotify
username: <Your reddit username>
password: <Your pass>
spotify:
username: <Your spotify username>
scope: playlist-modify-public
client_id: <Your key>
client_secret: <Your key>
redirect_uri: http://localhost/
Spotify login
Spotify requires users to authorise 3rd party programs through the website. Normally the first time you run this script it will open a web browser and redirect you to spotify, where a user would need to click authorise. Then it will come back to a redirect URL. As this isn’t a website, I just send it back to localhost.
The script will want to know what the URL was, including the code. So copy this from the address bar and paste in the prompt.
The token will be cached for a while so you do not need to do this every time.
License
listentoeverything is free software under the GNU General Public License v3.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2019-03-17)
First release on PyPI.
Metadata
Release files for listentoeverything 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| listentoeverything-0.3.3.tar.gz | 128.0 kB | Without provenance | Details for listentoeverything-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| listentoeverything-0.3.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for listentoeverything-0.3.3-py2.py3-none-any.whl |
Total release size: 135.9 kB
Release files / listentoeverything-0.3.3.tar.gz
| Download URL | listentoeverything-0.3.3.tar.gz |
|---|---|
| Size | 128.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40d40ece5de606b6cd87575e56517984bfb19d6d2316aef56f0271f881cdcd4b
|
|
BLAKE2b-256 checksum How to use checksums |
a8b0a7f2b9d1d989db92bc1607ec58613308731f0132561f5f7dda8cece3279e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / listentoeverything-0.3.3-py2.py3-none-any.whl
| Download URL | listentoeverything-0.3.3-py2.py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e06f7d2c9d85c758d057cb4e3a39f17a13ce29de6c5b5c0339779a6976a37fbe
|
|
BLAKE2b-256 checksum How to use checksums |
c4d6d221c553d7222444346d76b9b625cc8bc830c02d159ee3c3fd4d72b4d65a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Security for listentoeverything 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.