UNKNOWN
Project description
Vidscraper is a library for retrieving information about videos from various sources – video feeds, APIs, page scrapes – combining it, and presenting it in a unified manner, all as efficiently as possible.
Vidscraper comes with built-in support for popular video sites like blip, vimeo, ustream, and youtube, as well support for generic RSS feeds with feedparser.
Quick example
>>> import vidscraper >>> video = vidscraper.auto_scrape('http://www.youtube.com/watch?v=PMpu8jH1LE8') >>> video.title u"The Magic Roundabout - Ermintrude's Folly" >>> video.description u"Ermintrude's been at the poppies again, but it's Dougal who ends up high as a kite!" >>> video.user u'nickhirst999' >>> video.guid 'http://gdata.youtube.com/feeds/api/videos/PMpu8jH1LE8'
Project links
- code:
- docs:
- bugtracker:
- code:
- irc:
- build status:
Requirements
Python 2.6+
BeautifulSoup 4.0.2+
feedparser 5.1.2+
python-requests 0.13.0+
Optional
requests-oauth 0.4.1+ (for some APIs *cough* Vimeo searching *cough* which require authentication)
unittest2 (for tests)
mock (for tests)
tox (for tests)
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
File details
Details for the file vidscraper-1.0.0.tar.gz
.
File metadata
- Download URL: vidscraper-1.0.0.tar.gz
- Upload date:
- Size: 46.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0b470670b0259944431841f14801e5cd33fe6647dbc5601402734e9b6a9b61e |
|
MD5 | bdd8e2323051dadc9dffdf14ed20cd5a |
|
BLAKE2b-256 | 85c228c5ee68e07246a390b404de5e4df77fb92560c54fa04de6cd88ede414cc |