Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Gets media info from sites like Youtube and Soundcloud

Project Description

python-media-hosts gets media info from sites like Youtube and Soundcloud.

**This library is broken and unmaintained, new contributors are welcome.**

Which informations does it return ?

Depending on the queried hosting service, the returned data can contain the
following keys:

- ``authors``
- ``beats_per_minute``
- ``comment_count``
- ``coverart_url``
- ``description``
- ``downloads``
- ``duration``
- ``favorite_count``
- ``genres``
- ``license``
- ``published``
- ``purchase_url``
- ``rating``
- ``recorded``
- ``tags``
- ``thumbnails``
- ``title``
- ``view_count``
- ``waveform_url``

The following keys are always present:

- ``id``
- ``service``
- ``type`` (audio or video)


pip install media-hosts

media-hosts is compatible with python 2 and 3.


- miss
- requests

Optional dependencies:

- python-dateutil: to parse dates returned by various APIs
- jsonpickle: for


From python::

from media_hosts import MediaHosts, MediaHostException
media_hosts = MediaHosts(_=_, settings=settings)

From the command line::

$ python -m media_hosts ''


`CC0 Public Domain Dedication <>`_

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(20.5 kB) Copy SHA256 Hash SHA256
3.5 Wheel Mar 9, 2016
(13.4 kB) Copy SHA256 Hash SHA256
Source Mar 9, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting