1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00
svtplay-dl/lib/svtplay_dl/fetcher/__init__.py
2016-01-03 02:43:23 +01:00

17 lines
465 B
Python

from __future__ import absolute_import
from svtplay_dl.utils import HTTP
class VideoRetriever(object):
def __init__(self, options, url, bitrate=0, **kwargs):
self.options = options
self.url = url
self.bitrate = int(bitrate)
self.kwargs = kwargs
self.http = HTTP(options)
def __repr__(self):
return "<Video(fetcher=%s, bitrate=%s>" % (self.__class__.__name__, self.bitrate)
def name(self):
pass