old_contents: import json
  from pathlib import Path
  from subprocess import run
  
  dataset = Path('~/dataset/').expanduser()
  video_dirs = [x for x in dataset.iterdir() if x.is_dir()]
  for video_dir in video_dirs:
      url = json.load((video_dir / 'info.json').open())['video_src']
      run(['youtube-dl', '-f', '18', '-o', str(video_dir / 'video.mp4'), url])
new_contents: import json
  from pathlib import Path
  from subprocess import run
  
  dataset = Path('~/tthl-dataset/').expanduser()
  video_dirs = [x for x in dataset.iterdir() if x.is_dir()]
  for video_dir in video_dirs:
      url = json.load((video_dir / 'info.json').open())['video_src']
      run(['youtube-dl', '-f', '18', '-o', str(video_dir / 'video.mp4'), url])
subject: Update at 2017-07-20 16-31-10