YouTube plugin for Sopel
Project description
sopel-youtube
YouTube plugin for Sopel
Installing
If possible, use pip
to install this plugin. Below are example commands; you
might need to add sudo
and/or call a different pip
(e.g. pip3
) depending
on your system and environment. Do not use setup.py install
; Sopel won't be
able to load the plugin correctly.
Published release
pip install sopel_modules.youtube
From source
# Clone the repo, then run this in /path/to/sopel-youtube
pip install .
Getting your API key
Go to the Google Developers Console
and create an application. When it's created, go to the APIs section, select
the YouTube Data API and enable it. Then go to the Credentials section,
select "Add credentials", pick "API key", and then "Server key". You can enter
a name for it and limit the IPs it can be used from, but you don't have to.
Copy the value it gives you into the prompt in the config wizard, or the
api_key
value of the config in the [youtube]
section.
Changes between 0.2.0 and 0.2.1
- Handle API sending wrongly formatted timestamps (#20)
Changes between 0.1.3 and 0.2.0
- Update for Sopel 7 (#15)
Changes between 0.1.2 and 0.1.3
- Add retry mechanic to API fetching (#11)
- Fix exception traceback sometimes thrown on reconnect (#14)
- Update ancient, deprecated usage of Sopel's memory API (#16)
Changes between 0.1.1 and 0.1.2
- Fix error when video comments are disabled
- Improve duration parser
- Restrict google-api-python-client to compatible version range
- Fix version-number import issue during installation
Changes between 0.1.0 and 0.1.1
- Output is colorized
- Fix configuration wizard
- pip installation works regardless of pip version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sopel_modules.youtube-0.2.1.tar.gz
.
File metadata
- Download URL: sopel_modules.youtube-0.2.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3172ba3a9450f77f24d435a982b08b6b1fd822425ac58c7ed35d8d0ad00f4ed |
|
MD5 | 518d33007d36d17ce88bc6b2cffd7aeb |
|
BLAKE2b-256 | 44913c56a63f5ae5d60e7c931cddceac29753d614f341bbc6e8aa92c461da18e |