-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
$ gallery-dl -v https://www.instagram.com/p/C2HEm1gMBbF
[gallery-dl][debug] Version 1.30.7
[gallery-dl][debug] Python 3.13.7 - Linux-6.16.2-arch1-1-x86_64-with-glibc2.42
[gallery-dl][debug] requests 2.32.5 - urllib3 2.5.0
[gallery-dl][debug] Configuration Files ['${XDG_CONFIG_HOME}/gallery-dl/config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://www.instagram.com/p/C2HEm1gMBbF'
[instagram][debug] Using InstagramPostExtractor for 'https://www.instagram.com/p/C2HEm1gMBbF'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.instagram.com:443
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /api/v1/media/3280611114537195205/info/ HTTP/1.1" 302 0
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /api/v1/media/3280611114537195205/info/ HTTP/1.1" 200 7576
[downloader.ytdl][debug] Using <module 'yt_dlp' from '/usr/lib/python3.13/site-packages/yt_dlp/__init__.py'> version 2025.09.05
[downloader.ytdl][debug] Forwarding cookies to yt_dlp.YoutubeDL
[downloader.ytdl][debug] [generic] 1: Downloading MPD manifest
[downloader.ytdl][debug]
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/yt_dlp/extractor/common.py", line 1081, in _parse_xml
return compat_etree_fromstring(xml_string.encode())
File "/usr/lib/python3.13/site-packages/yt_dlp/compat/__init__.py", line 23, in compat_etree_fromstring
return etree.XML(text, parser=etree.XMLParser(target=_TreeBuilder()))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/xml/etree/ElementTree.py", line 1348, in XML
parser.feed(text)
~~~~~~~~~~~^^^^^^
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 4, column 2589
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/gallery_dl/downloader/ytdl.py", line 86, in download
info_dict = self._extract_manifest(
ytdl_instance, url, manifest,
kwdict.pop("_ytdl_manifest_data", None),
kwdict.pop("_ytdl_manifest_headers", None),
kwdict.pop("_ytdl_manifest_cookies", None))
File "/usr/lib/python3.13/site-packages/gallery_dl/downloader/ytdl.py", line 234, in _extract_manifest
fmts, subs = extr._extract_mpd_formats_and_subtitles(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
url, video_id, headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/yt_dlp/extractor/common.py", line 2800, in _extract_mpd_formats_and_subtitles
periods = self._extract_mpd_periods(*args, **kwargs)
File "/usr/lib/python3.13/site-packages/yt_dlp/extractor/common.py", line 2810, in _extract_mpd_periods
res = self._download_xml_handle(
mpd_url, video_id,
note='Downloading MPD manifest' if note is None else note,
errnote='Failed to download MPD manifest' if errnote is None else errnote,
fatal=fatal, data=data, headers=headers, query=query)
File "/usr/lib/python3.13/site-packages/yt_dlp/extractor/common.py", line 1115, in download_handle
return parse(self, content, video_id, transform_source=transform_source, fatal=fatal, errnote=errnote), urlh
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/yt_dlp/extractor/common.py", line 1103, in parse
return getattr(ie, parser)(content, *args, **kwargs)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/yt_dlp/extractor/common.py", line 1083, in _parse_xml
self.__print_error('Failed to parse XML' if errnote is None else errnote, fatal, video_id, ve)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/yt_dlp/extractor/common.py", line 1073, in __print_error
raise ExtractorError(f'{video_id}: {errnote}', cause=err)
yt_dlp.utils.ExtractorError: 1: Failed to parse XML (caused by ParseError('not well-formed (invalid token): line 4, column 2589')); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[downloader.ytdl][warning] ExtractorError: 1: Failed to parse XML (caused by ParseError('not well-formed (invalid token): line 4, column 2589')); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[download][info] Trying fallback URL #1
./gallery-dl/instagram/tartxqlia/ins_C2HEm1gMBbF_01.mp4
[instagram][debug] Cursor: None
Reactions are currently unavailable