Gets media info from sites like Youtube and Soundcloud
Project description
python-media-hosts gets media info from sites like Youtube and Soundcloud.
Installation
pip install media-hosts
media-hosts is compatible with python 2 and 3.
Dependencies:
miss
requests
Optional dependencies:
python-dateutil: to parse dates returned by various APIs
jsonpickle: for __main__.py
Usage
From python:
from media_hosts import MediaHosts, MediaHostException media_hosts = MediaHosts(_=_, settings=settings) media_hosts.get_info_by_url(url)
From the command line:
$ python -m media_hosts 'https://www.youtube.com/watch?v=Gn3QXjNQNsk'
License
LGPLv3+
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
media-hosts-0.2.tar.gz
(12.7 kB
view hashes)