We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
SITE REQUEST: www.5-tv.ru
Dear coders, I just visited this 5-tv.ru site, and I wanted to get news video from it, got no success.
Please, add this 5-tv.ru into YDL supported sources list. Thanks in advance!
The log is:
C:\>youtube-dl -v -F http://www.5-tv.ru/programs/broadcast/509514/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'http://www.5-tv.ru/programs/broadcast/509514/']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2017.06.12
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 3.3.1, ffprobe 3.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[FiveTV] 509514: Downloading webpage
ERROR: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its completeoutput.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkyaecyzu\build\youtube_dl\YoutubeDL.py", line 762,in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkyaecyzu\build\youtube_dl\extractor\common.py", line 433, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkyaecyzu\build\youtube_dl\extractor\fivetv.py", line 74, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkyaecyzu\build\youtube_dl\extractor\common.py", line 782, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `youtube_dl/extractor/fivetv.py`
Content:
```
1 # coding: utf-8
2 from __future__ import unicode_literals
3 
4 import re
5 
6 from .common import InfoExtractor
7 from ..utils import int_or_none
8 
9 
10 class FiveTVIE(InfoExtractor):
11     _VALID_URL = r'''(?x)
12                     http://
13                         (?:www\.)?5-tv\.ru/
14                         (?:
15                             (?:[^/]+/)+(?P<id>\d+)|
16                             (?P<path>[^/?#]+)(?:[/?#])?
17                         )
18                     '''
19 
20     _TESTS = [{
21         'url': 'http://5-tv.ru/news/96814/',
22         'md5': 'bbff554ad415ecf5416a2f48c22d9283',
23         'info_dict': {
24             'id': '96814',
25             'ext': 'mp4',
26             'title': 'Россияне выбрали имя для общенациональной платежной системы',
27             'description': 'md5:a8aa13e2b7ad36789e9f77a74b6de660',
28             'thumbnail': r're:^https?://.*\.jpg$',
29             'duration': 180,
30         },
31     }, {
32         'url': 'http://5-tv.ru/video/1021729/',
33         'info_dict': {
34             'id': '1021729',
35             'ext': 'mp4',
36             'title': '3D принтер',
37             'description': 'md5:d76c736d29ef7ec5c0cf7d7c65ffcb41',
38             'thumbnail': r're:^https?://.*\.jpg$',
39             'duration': 180,
40         },
41     }, {
42         'url': 'http://www.5-tv.ru/glavnoe/#itemDetails',
43         'info_dict': {
44             'id': 'glavnoe',
45             'ext': 'mp4',
46             'title': 'Итоги недели с 8 по 14 июня 2015 года',
47             'thumbnail': r're:^https?://.*\.jpg$',
48         },
49     }, {
50         'url': 'http://www.5-tv.ru/glavnoe/broadcasts/508645/',
51         'only_matching': True,
52     }, {
53         'url': 'http://5-tv.ru/films/1507502/',
54         'only_matching': True,
55     }, {
56         'url': 'http://5-tv.ru/programs/broadcast/508713/',
57         'only_matching': True,
58     }, {
59         'url': 'http://5-tv.ru/angel/',
60         'only_matching': True,
61     }, {
62         'url': 'http://www.5-tv.ru/schedule/?iframe=true&width=900&height=450',
63         'only_matching': True,
64     }]
65 
66     def _real_extract(self, url):
67         mobj = re.match(self._VALID_URL, url)
68         video_id = mobj.group('id') or mobj.group('path')
69 
70         webpage = self._download_webpage(url, video_id)
71 
72         video_url = self._search_regex(
73             r'<a[^>]+?href="([^"]+)"[^>]+?class="videoplayer"',
74             webpage, 'video url')
75 
76         title = self._og_search_title(webpage, default=None) or self._search_regex(
77             r'<title>([^<]+)</title>', webpage, 'title')
78         duration = int_or_none(self._og_search_property(
79             'video:duration', webpage, 'duration', default=None))
80 
81         return {
82             'id': video_id,
83             'url': video_url,
84             'title': title,
85             'description': self._og_search_description(webpage, default=None),
86             'thumbnail': self._og_search_thumbnail(webpage, default=None),
87             'duration': duration,
88         }
89
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/youtube_dl/extractor/fivetv.py b/youtube_dl/extractor/fivetv.py
--- a/youtube_dl/extractor/fivetv.py
+++ b/youtube_dl/extractor/fivetv.py
@@ -43,7 +43,7 @@
         'info_dict': {
             'id': 'glavnoe',
             'ext': 'mp4',
-            'title': 'Итоги недели с 8 по 14 июня 2015 года',
+            'title': r're:^Итоги недели с \d+ по \d+ \w+ \d{4} года$',
             'thumbnail': r're:^https?://.*\.jpg$',
         },
     }, {
@@ -70,7 +70,8 @@
         webpage = self._download_webpage(url, video_id)
 
         video_url = self._search_regex(
-            r'<a[^>]+?href="([^"]+)"[^>]+?class="videoplayer"',
+            [r'<div[^>]+?class="flowplayer[^>]+?data-href="([^"]+)"',
+             r'<a[^>]+?href="([^"]+)"[^>]+?class="videoplayer"'],
             webpage, 'video url')
 
         title = self._og_search_title(webpage, default=None) or self._search_regex(

{"golden_diff": "diff --git a/youtube_dl/extractor/fivetv.py b/youtube_dl/extractor/fivetv.py\n--- a/youtube_dl/extractor/fivetv.py\n+++ b/youtube_dl/extractor/fivetv.py\n@@ -43,7 +43,7 @@\n         'info_dict': {\n             'id': 'glavnoe',\n             'ext': 'mp4',\n-            'title': '\u0418\u0442\u043e\u0433\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 \u0441 8 \u043f\u043e 14 \u0438\u044e\u043d\u044f 2015 \u0433\u043e\u0434\u0430',\n+            'title': r're:^\u0418\u0442\u043e\u0433\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 \u0441\u00a0\\d+ \u043f\u043e\u00a0\\d+\u00a0\\w+\u00a0\\d{4}\u00a0\u0433\u043e\u0434\u0430$',\n             'thumbnail': r're:^https?://.*\\.jpg$',\n         },\n     }, {\n@@ -70,7 +70,8 @@\n         webpage = self._download_webpage(url, video_id)\n \n         video_url = self._search_regex(\n-            r'<a[^>]+?href=\"([^\"]+)\"[^>]+?class=\"videoplayer\"',\n+            [r'<div[^>]+?class=\"flowplayer[^>]+?data-href=\"([^\"]+)\"',\n+             r'<a[^>]+?href=\"([^\"]+)\"[^>]+?class=\"videoplayer\"'],\n             webpage, 'video url')\n \n         title = self._og_search_title(webpage, default=None) or self._search_regex(\n", "issue": "SITE REQUEST: www.5-tv.ru\nDear coders, I just visited this 5-tv.ru site, and I wanted to get news video from it, got no success.\r\nPlease, add this 5-tv.ru into YDL supported sources list. Thanks in advance!\r\nThe log is:\r\nC:\\>youtube-dl -v -F http://www.5-tv.ru/programs/broadcast/509514/\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Custom config: []\r\n[debug] Command-line args: ['-v', '-F', 'http://www.5-tv.ru/programs/broadcast/509514/']\r\n[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251\r\n[debug] youtube-dl version 2017.06.12\r\n[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1\r\n[debug] exe versions: ffmpeg 3.3.1, ffprobe 3.3.1, rtmpdump 2.4\r\n[debug] Proxy map: {}\r\n[FiveTV] 509514: Downloading webpage\r\nERROR: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its completeoutput.\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\dst\\AppData\\Roaming\\Build archive\\youtube-dl\\rg3\\tmpkyaecyzu\\build\\youtube_dl\\YoutubeDL.py\", line 762,in extract_info\r\n  File \"C:\\Users\\dst\\AppData\\Roaming\\Build archive\\youtube-dl\\rg3\\tmpkyaecyzu\\build\\youtube_dl\\extractor\\common.py\", line 433, in extract\r\n  File \"C:\\Users\\dst\\AppData\\Roaming\\Build archive\\youtube-dl\\rg3\\tmpkyaecyzu\\build\\youtube_dl\\extractor\\fivetv.py\", line 74, in _real_extract\r\n  File \"C:\\Users\\dst\\AppData\\Roaming\\Build archive\\youtube-dl\\rg3\\tmpkyaecyzu\\build\\youtube_dl\\extractor\\common.py\", line 782, in _search_regex\r\nyoutube_dl.utils.RegexNotFoundError: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\n", "before_files": [{"content": "# coding: utf-8\nfrom __future__ import unicode_literals\n\nimport re\n\nfrom .common import InfoExtractor\nfrom ..utils import int_or_none\n\n\nclass FiveTVIE(InfoExtractor):\n    _VALID_URL = r'''(?x)\n                    http://\n                        (?:www\\.)?5-tv\\.ru/\n                        (?:\n                            (?:[^/]+/)+(?P<id>\\d+)|\n                            (?P<path>[^/?#]+)(?:[/?#])?\n                        )\n                    '''\n\n    _TESTS = [{\n        'url': 'http://5-tv.ru/news/96814/',\n        'md5': 'bbff554ad415ecf5416a2f48c22d9283',\n        'info_dict': {\n            'id': '96814',\n            'ext': 'mp4',\n            'title': '\u0420\u043e\u0441\u0441\u0438\u044f\u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0438\u043c\u044f \u0434\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b',\n            'description': 'md5:a8aa13e2b7ad36789e9f77a74b6de660',\n            'thumbnail': r're:^https?://.*\\.jpg$',\n            'duration': 180,\n        },\n    }, {\n        'url': 'http://5-tv.ru/video/1021729/',\n        'info_dict': {\n            'id': '1021729',\n            'ext': 'mp4',\n            'title': '3D \u043f\u0440\u0438\u043d\u0442\u0435\u0440',\n            'description': 'md5:d76c736d29ef7ec5c0cf7d7c65ffcb41',\n            'thumbnail': r're:^https?://.*\\.jpg$',\n            'duration': 180,\n        },\n    }, {\n        'url': 'http://www.5-tv.ru/glavnoe/#itemDetails',\n        'info_dict': {\n            'id': 'glavnoe',\n            'ext': 'mp4',\n            'title': '\u0418\u0442\u043e\u0433\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 \u0441 8 \u043f\u043e 14 \u0438\u044e\u043d\u044f 2015 \u0433\u043e\u0434\u0430',\n            'thumbnail': r're:^https?://.*\\.jpg$',\n        },\n    }, {\n        'url': 'http://www.5-tv.ru/glavnoe/broadcasts/508645/',\n        'only_matching': True,\n    }, {\n        'url': 'http://5-tv.ru/films/1507502/',\n        'only_matching': True,\n    }, {\n        'url': 'http://5-tv.ru/programs/broadcast/508713/',\n        'only_matching': True,\n    }, {\n        'url': 'http://5-tv.ru/angel/',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.5-tv.ru/schedule/?iframe=true&width=900&height=450',\n        'only_matching': True,\n    }]\n\n    def _real_extract(self, url):\n        mobj = re.match(self._VALID_URL, url)\n        video_id = mobj.group('id') or mobj.group('path')\n\n        webpage = self._download_webpage(url, video_id)\n\n        video_url = self._search_regex(\n            r'<a[^>]+?href=\"([^\"]+)\"[^>]+?class=\"videoplayer\"',\n            webpage, 'video url')\n\n        title = self._og_search_title(webpage, default=None) or self._search_regex(\n            r'<title>([^<]+)</title>', webpage, 'title')\n        duration = int_or_none(self._og_search_property(\n            'video:duration', webpage, 'duration', default=None))\n\n        return {\n            'id': video_id,\n            'url': video_url,\n            'title': title,\n            'description': self._og_search_description(webpage, default=None),\n            'thumbnail': self._og_search_thumbnail(webpage, default=None),\n            'duration': duration,\n        }\n", "path": "youtube_dl/extractor/fivetv.py"}], "after_files": [{"content": "# coding: utf-8\nfrom __future__ import unicode_literals\n\nimport re\n\nfrom .common import InfoExtractor\nfrom ..utils import int_or_none\n\n\nclass FiveTVIE(InfoExtractor):\n    _VALID_URL = r'''(?x)\n                    http://\n                        (?:www\\.)?5-tv\\.ru/\n                        (?:\n                            (?:[^/]+/)+(?P<id>\\d+)|\n                            (?P<path>[^/?#]+)(?:[/?#])?\n                        )\n                    '''\n\n    _TESTS = [{\n        'url': 'http://5-tv.ru/news/96814/',\n        'md5': 'bbff554ad415ecf5416a2f48c22d9283',\n        'info_dict': {\n            'id': '96814',\n            'ext': 'mp4',\n            'title': '\u0420\u043e\u0441\u0441\u0438\u044f\u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0438\u043c\u044f \u0434\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b',\n            'description': 'md5:a8aa13e2b7ad36789e9f77a74b6de660',\n            'thumbnail': r're:^https?://.*\\.jpg$',\n            'duration': 180,\n        },\n    }, {\n        'url': 'http://5-tv.ru/video/1021729/',\n        'info_dict': {\n            'id': '1021729',\n            'ext': 'mp4',\n            'title': '3D \u043f\u0440\u0438\u043d\u0442\u0435\u0440',\n            'description': 'md5:d76c736d29ef7ec5c0cf7d7c65ffcb41',\n            'thumbnail': r're:^https?://.*\\.jpg$',\n            'duration': 180,\n        },\n    }, {\n        'url': 'http://www.5-tv.ru/glavnoe/#itemDetails',\n        'info_dict': {\n            'id': 'glavnoe',\n            'ext': 'mp4',\n            'title': r're:^\u0418\u0442\u043e\u0433\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 \u0441\u00a0\\d+ \u043f\u043e\u00a0\\d+\u00a0\\w+\u00a0\\d{4}\u00a0\u0433\u043e\u0434\u0430$',\n            'thumbnail': r're:^https?://.*\\.jpg$',\n        },\n    }, {\n        'url': 'http://www.5-tv.ru/glavnoe/broadcasts/508645/',\n        'only_matching': True,\n    }, {\n        'url': 'http://5-tv.ru/films/1507502/',\n        'only_matching': True,\n    }, {\n        'url': 'http://5-tv.ru/programs/broadcast/508713/',\n        'only_matching': True,\n    }, {\n        'url': 'http://5-tv.ru/angel/',\n        'only_matching': True,\n    }, {\n        'url': 'http://www.5-tv.ru/schedule/?iframe=true&width=900&height=450',\n        'only_matching': True,\n    }]\n\n    def _real_extract(self, url):\n        mobj = re.match(self._VALID_URL, url)\n        video_id = mobj.group('id') or mobj.group('path')\n\n        webpage = self._download_webpage(url, video_id)\n\n        video_url = self._search_regex(\n            [r'<div[^>]+?class=\"flowplayer[^>]+?data-href=\"([^\"]+)\"',\n             r'<a[^>]+?href=\"([^\"]+)\"[^>]+?class=\"videoplayer\"'],\n            webpage, 'video url')\n\n        title = self._og_search_title(webpage, default=None) or self._search_regex(\n            r'<title>([^<]+)</title>', webpage, 'title')\n        duration = int_or_none(self._og_search_property(\n            'video:duration', webpage, 'duration', default=None))\n\n        return {\n            'id': video_id,\n            'url': video_url,\n            'title': title,\n            'description': self._og_search_description(webpage, default=None),\n            'thumbnail': self._og_search_thumbnail(webpage, default=None),\n            'duration': duration,\n        }\n", "path": "youtube_dl/extractor/fivetv.py"}]}