Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vidscraper-cmd. #8

Merged
merged 3 commits into from
Apr 5, 2012
Merged

Add vidscraper-cmd. #8

merged 3 commits into from
Apr 5, 2012

Conversation

paulswartz
Copy link
Contributor

This adds the beginnings of a vidscraper-cmd. It supports auto-scraping
videos, but nothing else, yet. However, the code is written such that
adding support for other actions is easy to do.

The video subcommand supports specifying fields to be returned and also
api keys (though the latter is untested).

It returns data in JSON format--which required adding items() and
to_json() methods to the Video class.

Also adds a new topic in the documentation.

Closes #6.

(originally from #7)

willkg and others added 3 commits April 5, 2012 10:32
This adds the beginnings of a vidscraper-cmd. It supports auto-scraping
videos, but nothing else, yet. However, the code is written such that
adding support for other actions is easy to do.

The video subcommand supports specifying fields to be returned and also
api keys (though the latter is untested).

It returns data in JSON format--which required adding ``items()`` and
``to_json()`` methods to the Video class.

Also adds a new topic in the documentation.

Closes #6.
* adds missing files
* improves documentation
* adds tests for new Video methods
* handles datetime.datetime serialization issues with json.dumps.
* don't depend on nose
* don't actually scrape the Video
paulswartz added a commit that referenced this pull request Apr 5, 2012
Add vidscraper-cmd.

Thanks to Will Kahn-Greene for the implementation!
@paulswartz paulswartz merged commit 4b9d2aa into develop Apr 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants