macOS youtube download, Google Chrome.app play/pause
Project description
Installation
$ [sudo] pip install mac-youtube
Features
play()
,pause()
,playing()
,urls()
works only in MacOSGoogle Chrome.app
Examples
>>> import mac_youtube
>>> mac_youtube.urls()
['https://www.youtube.com/watch?v=cvaIgq5j2Q8','https://www.youtube.com/watch?v=YrhYhI3L32c']
>>> mac_youtube.play()
>>> mac_youtube.playing()
['https://www.youtube.com/watch?v=cvaIgq5j2Q8']
>>> mac_youtube.pause()
info
>>> info = mac_youtube.info("cvaIgq5j2Q8")
>>> "%s.%s" % (info["title"], info["ext"])
'Nightcore - Angel With A Shotgun.webm'
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
mac-youtube-2020.12.3.tar.gz
(2.5 kB
view details)
File details
Details for the file mac-youtube-2020.12.3.tar.gz
.
File metadata
- Download URL: mac-youtube-2020.12.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a5ce15ee1b19aac0ae954e61761695a44b28d9e93a28599d6664bbaa32e77d3 |
|
MD5 | cda3aa6c59b1402589314e6fd09fee08 |
|
BLAKE2b-256 | dfca5c0af748d20f6429ac8f6250e9485205810d7dbf4fb772f8f4a711bc360c |