Repository: ytdl-org/youtube-dl

Issue:
[site-support-request] dump.com
```
D:\youtube-dl>youtube-dl --update
youtube-dl is up-to-date (2014.08.21.2)

D:\youtube-dl>youtube-dl --verbose http://www.dump.com/medleymashup/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.dump.com/medleymashup/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.08.21.2
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] medleymashup: Requesting header
WARNING: Falling back on generic information extractor.
[generic] medleymashup: Downloading webpage
[generic] medleymashup: Extracting information
ERROR: Unsupported URL: http://www.dump.com/medleymashup/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --v
erbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "youtube_dl\extractor\generic.pyo", line 457, in _real_extract
  File "youtube_dl\utils.pyo", line 1446, in parse_xml
  File "xml\etree\ElementTree.pyo", line 1300, in XML
  File "xml\etree\ElementTree.pyo", line 1642, in feed
  File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: not well-formed (invalid token): line 114, column 14
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 517, in extract_info
  File "youtube_dl\extractor\common.pyo", line 170, in extract
  File "youtube_dl\extractor\generic.pyo", line 759, in _real_extract
ExtractorError: Unsupported URL: http://www.dump.com/medleymashup/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl wit
h the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

```



Discussion:
It should be easy. The video url is in the source of the webpage. I will try to implement it :+1: 


Resolving patch:
diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py
--- a/youtube_dl/extractor/__init__.py
+++ b/youtube_dl/extractor/__init__.py
@@ -69,6 +69,7 @@
 from .dotsub import DotsubIE
 from .dreisat import DreiSatIE
 from .drtv import DRTVIE
+from .dump import DumpIE
 from .defense import DefenseGouvFrIE
 from .discovery import DiscoveryIE
 from .divxstage import DivxStageIE
diff --git a/youtube_dl/extractor/dump.py b/youtube_dl/extractor/dump.py
new file mode 100644
--- /dev/null
+++ b/youtube_dl/extractor/dump.py
@@ -0,0 +1,48 @@
+# encoding: utf-8
+from __future__ import unicode_literals
+
+import re
+
+from .common import InfoExtractor
+from ..utils import (
+    ExtractorError,
+)
+
+class DumpIE(InfoExtractor):
+    _VALID_URL = r'^https?://(?:www\.)?dump\.com/(?P<id>[a-zA-Z0-9]+)/'
+
+    _TEST = {
+        u'url': u'http://www.dump.com/oneus/',
+        u'file': u'oneus.flv',
+        u'md5': u'ad71704d1e67dfd9e81e3e8b42d69d99',
+        u'info_dict': {
+            u"title": u"He's one of us.",
+        },
+    }
+
+    def _real_extract(self, url):
+        m = re.match(self._VALID_URL, url)
+        video_id = m.group('id')
+
+        # Note: There is an easier-to-parse configuration at
+        # http://www.aparat.com/video/video/config/videohash/%video_id
+        # but the URL in there does not work
+
+        webpage = self._download_webpage(url, video_id)
+
+        try:
+            video_url = re.findall(r'file","(.+?.flv)"', webpage)[-1]
+        except IndexError:
+            raise ExtractorError(u'No video URL found')
+
+        thumb = re.findall('<meta property="og:image" content="(.+?)"',webpage)[0]
+
+        title = self._search_regex(r'<b>([^"]+)</b>', webpage, u'title')
+
+        return {
+            'id': video_id,
+            'title': title,
+            'url': video_url,
+            'ext': 'flv',
+            'thumbnail': thumb,
+        }


Test patch: