Browse Source

[common] Remove debugging codes

totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
f738dd7b7c
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      youtube_dl/extractor/common.py

+ 0
- 3
youtube_dl/extractor/common.py View File

@ -1291,12 +1291,9 @@ class InfoExtractor(object):
@classmethod @classmethod
def _merge_subtitles(kls, subtitle_dict1, subtitle_dict2): def _merge_subtitles(kls, subtitle_dict1, subtitle_dict2):
""" Merge two subtitle dictionaries, language by language. """ """ Merge two subtitle dictionaries, language by language. """
print(subtitle_dict1)
print(subtitle_dict2)
ret = dict(subtitle_dict1) ret = dict(subtitle_dict1)
for lang in subtitle_dict2: for lang in subtitle_dict2:
ret[lang] = kls._merge_subtitle_items(subtitle_dict1.get(lang, []), subtitle_dict2[lang]) ret[lang] = kls._merge_subtitle_items(subtitle_dict1.get(lang, []), subtitle_dict2[lang])
print(ret)
return ret return ret
def extract_automatic_captions(self, *args, **kwargs): def extract_automatic_captions(self, *args, **kwargs):


Loading…
Cancel
Save