1.0.0 introduces the following changes, many of which are backwards-incompatible with 0.5.
.VideoFeed
and.VideoSearch
have been renamed to.BaseFeed
and.BaseSearch
, respectively..Video
,.BaseFeed
, and.BaseSearch
are now found invidscraper.videos
. They can no longer be imported fromvidscraper
orvidscraper.suites
..BaseFeed
and.BaseSearch
now fully implement the python generator API..BaseFeed
and.BaseSearch
now support fetching specific slices of videos instead of fetching a certain number of pages.VideoLoaders <.VideoLoader>
were introduced as a more generic way to represent getting data for a single video.vidscraper.errors
was renamed tovidscraper.exceptions
, and unused exceptions were removed..CantIdentifyUrl
was split into two exceptions (.UnhandledVideo
and.UnhandledFeed
) andError
is now.VidscraperError
.vidscraper.handles_video_url
andvidscraper.handles_feed_url
were renamed tovidscraper.handles_video
andvidscraper.handles_feed
, respectively. They now accept the same parameters asvidscraper.auto_scrape
andvidscraper.auto_feed
.- Multiple
.VideoFile
s are now made available for.Video
instances, rather than having a single set of fields on the.Video
class. - Removed
vidscraper.utils.http
since the single function there was unrelated to HTTP, was only used by a single suite, and was of questionable usefulness period. - Added support for testing with tox.
- Added vidscraper-cmd for shell access to the api.
- Replaced video pickling support with simple video serialization.
- Started using python-requests where possible.
.auto_search
now returns a simple list of searches rather than a dictionary mapping suites to searches.