Skip to content

Latest commit

 

History

History
63 lines (56 loc) · 3.33 KB

1.0.0.rst

File metadata and controls

63 lines (56 loc) · 3.33 KB

1.0.0 release notes

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 in vidscraper.videos. They can no longer be imported from vidscraper or vidscraper.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 to vidscraper.exceptions, and unused exceptions were removed. .CantIdentifyUrl was split into two exceptions (.UnhandledVideo and .UnhandledFeed) and Error is now .VidscraperError.
  • vidscraper.handles_video_url and vidscraper.handles_feed_url were renamed to vidscraper.handles_video and vidscraper.handles_feed, respectively. They now accept the same parameters as vidscraper.auto_scrape and vidscraper.auto_feed.
  • Multiple .VideoFiles 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.