rg3/youtube-dl — pull request #1161 by meyerd (2013-08-01 09:52:39+00:00)
Title: Fix regex error when only subtitled video is available on arte.

Fixes filter error on subtitled only arte videos. Example below.

```
$ youtube-dl -t -c "http://www.arte.tv/guide/de/049474-000/soul-night?autoplay=1"
[arte.tv] 049474-000: Downloading webpage
[arte.tv] 049474-000: Downloading info json
[arte.tv] 049474-000: Extracting information
Traceback (most recent call last):
File "/home/domi/bin/youtube-dl", line 10, in
youtube_dl.main()
File "/home/domi/projects/youtube-dl/youtube_dl/__init__.py", line 639, in main
_real_main(argv)
File "/home/domi/projects/youtube-dl/youtube_dl/__init__.py", line 623, in _real_main
retcode = ydl.download(all_urls)
File "/home/domi/projects/youtube-dl/youtube_dl/YoutubeDL.py", line 573, in download
videos = self.extract_info(url)
File "/home/domi/projects/youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
ie_result = ie.extract(url)
File "/home/domi/projects/youtube-dl/youtube_dl/extractor/common.py", line 96, in extract
return self._real_extract(url)
File "/home/domi/projects/youtube-dl/youtube_dl/extractor/arte.py", line 63, in _real_extract
return self._extract_emission(url, video_id, lang)
File "/home/domi/projects/youtube-dl/youtube_dl/extractor/arte.py", line 109, in _extract_emission
format_info = formats[-1]
IndexError: list index out of range
```