projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[rtvnh] Check status code
[youtube-dl]
/
youtube_dl
/
extractor
/
eroprofile.py
diff --git
a/youtube_dl/extractor/eroprofile.py
b/youtube_dl/extractor/eroprofile.py
index 0cbca90b061cf2358600146f37f6da5b61d71709..316033cf18b42cefead780ceca15b361ebbddac7 100644
(file)
--- a/
youtube_dl/extractor/eroprofile.py
+++ b/
youtube_dl/extractor/eroprofile.py
@@
-4,7
+4,10
@@
import re
from .common import InfoExtractor
from ..compat import compat_urllib_parse
from .common import InfoExtractor
from ..compat import compat_urllib_parse
-from ..utils import ExtractorError
+from ..utils import (
+ ExtractorError,
+ unescapeHTML
+)
class EroProfileIE(InfoExtractor):
class EroProfileIE(InfoExtractor):
@@
-75,8
+78,8
@@
class EroProfileIE(InfoExtractor):
[r"glbUpdViews\s*\('\d*','(\d+)'", r'p/report/video/(\d+)'],
webpage, 'video id', default=None)
[r"glbUpdViews\s*\('\d*','(\d+)'", r'p/report/video/(\d+)'],
webpage, 'video id', default=None)
- video_url = self._search_regex(
- r'<source src="([^"]+)', webpage, 'video url')
+ video_url =
unescapeHTML(
self._search_regex(
+ r'<source src="([^"]+)', webpage, 'video url')
)
title = self._html_search_regex(
r'Title:</th><td>([^<]+)</td>', webpage, 'title')
thumbnail = self._search_regex(
title = self._html_search_regex(
r'Title:</th><td>([^<]+)</td>', webpage, 'title')
thumbnail = self._search_regex(