Skip to content

Commit

Permalink
General housekeeping, no code modified.
Browse files Browse the repository at this point in the history
* Added TODO
* Added AUTHORS
* Moved Licence agreement into COPYING.
  • Loading branch information
nficano committed Mar 26, 2012
1 parent e97923e commit 66af1ac
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 23 deletions.
Empty file added AUTHORS
Empty file.
20 changes: 20 additions & 0 deletions COPYING
@@ -0,0 +1,20 @@
Copyright © 2012 Nick Ficano (http://nickficano.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice, and every other copyright notice found in this
software, and all the attributions in every file, and this permission notice
shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
19 changes: 19 additions & 0 deletions TODO
@@ -0,0 +1,19 @@
TODO
====

Short Term
----------
* Reimplement as Abstract Base Class.
* Allow an output directory to be specified.
* Unbind the filename from the Video class, to allow graceful file renaming.
* Throw custom exceptions.
* Detect duplicate video encoding options, preventing the creation of identical
video class instances. (can cause get() method to raise unnecessary
multiple returned excepion).

Long Term
----------
* OS Compatibility testing of automatic filename generation.
* Improve automatic filename generation.
* Add functionality for batch URL processing.
* Scrape and inject additional video information into metadata.
23 changes: 0 additions & 23 deletions youtube/youtube.py
@@ -1,26 +1,3 @@
# Copyright (c) 2012 Nick Ficano.

# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following
# conditions:

# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

from urllib import urlencode
from urllib2 import urlopen
from urlparse import urlparse, parse_qs
Expand Down

0 comments on commit 66af1ac

Please sign in to comment.