Ejemplo n.º 1
0
 def __init__(self, url):
     self.url = url
     self.videoid = self._get_vimeo_id(url)
     try:
         self.shortmem = vimeo.get_shortmem(url)
     except VidscraperError, e:
         raise VideoTypeError(e[0])   
Ejemplo n.º 2
0
 def __init__(self, url):
     self.url = url
     self.id = self._get_vimeo_id(url)
     try:
         self.shortmem = vimeo.get_shortmem(url)
     except VidscraperError, e:
         raise VideoTypeError(e[0])
Ejemplo n.º 3
0
 def __init__(self, url):
     self.url = url
     self.videoid = self._get_vimeo_id(url)
     try:
         self.shortmem = vimeo.get_shortmem(url)
     except VidscraperError, e:
         # we're not raising an error here because it
         # disallows us from adding private Vimeo videos.
         pass