[utils] Add DownloadTarget

This commit is contained in:
Yen Chi Hsuan 2016-06-09 22:23:11 +08:00
parent bc7e7adf51
commit 28bc56459a

View File

@ -2834,3 +2834,9 @@ def decode_packed_codes(code):
return re.sub(
r'\b(\w+)\b', lambda mobj: symbol_table[mobj.group(0)],
obfucasted_code)
class DownloadTarget(object):
MEDIA = 1
THUMBNAILS = 2
SUBTITLES = 3