projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[pluralsight] Extract chapter metadata (Closes #8993)
[youtube-dl]
/
youtube_dl
/
extractor
/
instagram.py
diff --git
a/youtube_dl/extractor/instagram.py
b/youtube_dl/extractor/instagram.py
index e8b27b3794ef0623a9b64f5a876e887cc841c8c8..4e62098b05fa1ec753f240adc5a27b7da57e2e95 100644
(file)
--- a/
youtube_dl/extractor/instagram.py
+++ b/
youtube_dl/extractor/instagram.py
@@
-7,6
+7,7
@@
from ..utils import (
get_element_by_attribute,
int_or_none,
limit_length,
get_element_by_attribute,
int_or_none,
limit_length,
+ lowercase_escape,
)
)
@@
-59,6
+60,8
@@
class InstagramIE(InfoExtractor):
webpage, 'uploader id', fatal=False)
desc = self._search_regex(
r'"caption":"(.+?)"', webpage, 'description', default=None)
webpage, 'uploader id', fatal=False)
desc = self._search_regex(
r'"caption":"(.+?)"', webpage, 'description', default=None)
+ if desc is not None:
+ desc = lowercase_escape(desc)
return {
'id': video_id,
return {
'id': video_id,