Bug: URLs which contain apostrophes (') get truncated
Author: ConorGoverCreated Sep 26, 2026Updated Sep 26, 2026
Provide a screenshot and describe the bug
If a URL contains the character ' then everything after the ' is removed. It's generally not recommended to include this character in a URL, but it is allowed and there are valid URLs which have it. Here is one example:
https://aaib.gov.in/What's%20New%20Assets/Preliminary%20Report%20VT-EXO.pdf
This link can be found on "https://aaib.gov.in/whatsnew.html" where it's currently the first link in the list. When you try to add this URL in ArchiveBox, it actually adds "https://aaib.gov.in/What".
Steps to reproduce
Run 'archivebox add "https://aaib.gov.in/What's%20New%20Assets/Preliminary%20Report%20VT-EXO.pdf"'Logs or errors
ig@XXXX:~/archivebox/data$ archivebox add "https://aaib.gov.in/What's%20New%20Assets/Preliminary%20Report%20VT-EXO.pdf"
[+] Created Crawl 06ab73552e2875a88000e65a2a96cfac with max_depth=0
First URL: https://aaib.gov.in/What's%20New%20Assets/Preliminary%20Report%20VT-EXO.pdf
[*] Starting crawl runner to process crawl...
[♂️] Supervisord connected (pid=3842) via unix://./tmp/97e140c8/supervisord.sock.
[♂️] Supervisord syncing subprocess worker: worker_sonic...
- Worker worker_sonic: already RUNNING (pid 3844, uptime 0:00:05)
[♂️] Supervisord syncing subprocess worker: worker_runner_add_3860...
- Worker worker_runner_add_3860: started RUNNING (pid 3864, uptime 0:00:00)
[*] Stopping older ArchiveBox runner process (pid=3845)...
Downloading: https://aaib.gov.in/What's%20New%20Assets/Preliminary%20Report%20VT-EXO.pdf
[Crawl#2a96cfac] [STARTED] ig@XXXX $ archivebox add https://aaib.gov.in/What's%2
Output: ~/archivebox/data/archive/users/ig/crawls/20260926/aaib.gov.in/06ab73552e2875a88000e65a2a96cfac
Plugins: accessibility, archivedotorg, archivewebpage, chrome, chrome_mhtml, chrome_screencast, consolelog, defuddle,
dns, dom, favicon, forumdl, gallerydl, git, hashes, headers, htmltotext, infiniscroll, istilldontcareaboutcookies,
liteparse, mercury, modalcloser, papersdl, parse_dom_outlinks, parse_html_urls, parse_jsonl_urls, parse_netscape_urls,
parse_rss_urls, parse_txt_urls, pdf, readability, redirects, responses, screenshot, search_backend_sonic, seo,
singlefile, sslcerts, staticfile, title, trafilatura, twocaptcha, ublock, wget, ytdlp
Currently Running Status Size Elapsed Output
install:/home/ig/.config/abx/lib/e… succeeded - 0.0s/10s ~/.nvm/versions/node/v24.11.0/bin/node 24.11.0
install:abxbus succeeded - 0.0s/10s ~/.config/abx/lib/pnpm/packages/abxbus/node_m…
install:browsers succeeded - 0.0s/10s ~/.config/abx/lib/pnpm/packages/chrome/node_m…
install:/home/ig/.config/abx/lib/p… succeeded - 0.0s/10s ~/.config/abx/lib/puppeteer/bin/chromium 156.…
install:archivewebpage succeeded - 0.0s/10s ~/.config/abx/lib/chromewebstore/extensions/a…
install:/home/ig/.config/abx/lib/p… succeeded - 0.0s/10s ~/.config/abx/lib/pnpm/packages/defuddle/node…
install:/home/ig/.config/abx/lib/u… succeeded - 0.0s/10s ~/.config/abx/lib/uv/packages/forum-dl/venv/b…
install:/home/ig/.config/abx/lib/u… succeeded - 0.0s/10s ~/.config/abx/lib/uv/packages/gallery-dl/venv…
install:/home/ig/.config/abx/lib/e… succeeded - 0.0s/10s /usr/bin/git 2.39.5
install:istilldontcareaboutcookies succeeded - 0.0s/10s ~/.config/abx/lib/chromewebstore/extensions/i…
install:/home/ig/.config/abx/lib/p… succeeded - 0.0s/10s ~/.config/abx/lib/pnpm/packages/liteparse/nod…
install:/home/ig/.config/abx/lib/e… succeeded - 0.0s/10s /usr/bin/tesseract 5.3.0
install:/home/ig/.config/abx/lib/e… succeeded - 0.0s/10s /usr/bin/convert 6.9.11
install:/home/ig/.config/abx/lib/n… succeeded - 0.0s/10s ~/.config/abx/lib/npm/packages/mercury/node_m…
install:/home/ig/.config/abx/lib/u… succeeded - 0.0s/10s ~/.config/abx/lib/uv/packages/papers-dl/venv/…
install:feedparser succeeded - 0.0s/10s ~/.config/abx/lib/uv/packages/parse_rss_urls-…
install:/home/ig/.config/abx/lib/p… succeeded - 0.0s/10s ~/.config/abx/lib/pnpm/packages/readability/n…
install:/home/ig/.config/abx/lib/e… succeeded - 0.0s/10s /usr/bin/sonic 1.10.0
install:singlefile succeeded - 0.0s/10s ~/.config/abx/lib/chromewebstore/extensions/s…
install:/home/ig/.config/abx/lib/u… succeeded - 0.0s/10s ~/.config/abx/lib/uv/packages/trafilatura-2.1…
install:twocaptcha succeeded - 0.0s/10s ~/.config/abx/lib/chromewebstore/extensions/t…
install:ublock succeeded - 0.0s/10s ~/.config/abx/lib/chromewebstore/extensions/u…
install:/home/ig/.config/abx/lib/e… succeeded - 0.0s/10s /usr/bin/wget 1.21.3
install:/home/ig/.config/abx/lib/u… succeeded - 0.0s/10s ~/.config/abx/lib/uv/packages/yt-dlp/venv/bin…
install:/home/ig/.config/abx/lib/e… succeeded - 0.0s/10s ~/.nvm/versions/node/v24.11.0/bin/node 24.11.0
install:/home/ig/.config/abx/lib/e… succeeded - 0.0s/10s /usr/bin/ffmpeg 5.1.9
on_CrawlSetup__80_archivewebpage_p… succeeded - 0.3s/60s exit=0
on_CrawlSetup__80_istilldontcareab… succeeded - 0.3s/60s exit=0
on_CrawlSetup__80_singlefile_prepa… succeeded - 0.3s/60s exit=0
on_CrawlSetup__80_twocaptcha_prepa… succeeded - 0.3s/60s exit=0
on_CrawlSetup__80_ublock_prepare succeeded - 0.3s/60s exit=0
on_CrawlSetup__89_chrome_kill_zomb… succeeded - 0.3s/60s 0 chrome zombies. cpu usage: 114%
on_CrawlSetup__90_chrome_screencas… succeeded - 0.3s/60s chrome screencast starting
on_CrawlSetup__91_chrome_wait succeeded - 0.4s/60s chromium ready pid=3960 cdp=ws://127.0.0.1:44…
on_CrawlSetup__95_twocaptcha_config skipped - 0.1s/60s [*] TWOCAPTCHA_API_KEY not configured, skippi…
on_CrawlSetup__95_ublock_config succeeded - 0.9s/60s exit=0
on_Snapshot__00_chrome_launch.daem… skipped - 0.3s/60s CHROME_ISOLATION=crawl
on_Snapshot__11_ublock_config skipped - 0.4s/60s CHROME_ISOLATION=crawl
on_Snapshot__14_twocaptcha.daemon.… skipped - 0.1s/60s TWOCAPTCHA_API_KEY=None
on_Snapshot__16_archivewebpage_sta… noresults 175B 0.9s/60s recording started coll=jq30nsbw8ycuu5yfhwtz7 …
on_Snapshot__30_chrome_navigate succeeded 4KB 1.6s/60s page loaded http=404
on_Snapshot__27_headers.daemon.bg succeeded 2KB 2.2s/30s headers/headers.json
on_Snapshot__32_gallerydl.finite.bg noresults - 0.7s/120s No gallery found
on_Snapshot__34_git.finite.bg noresults - 0.6s/120s Not a git URL
on_Snapshot__38_seo succeeded 103B 0.6s/30s seo/seo.json
on_Snapshot__33_forumdl.finite.bg noresults - 2.2s/3600s No forum found
on_Snapshot__31_ytdlp.finite.bg failed - 4.0s/120s ERROR: 404 Not Found
on_Snapshot__35_wget.finite.bg failed 3KB 1.8s/60s ERROR: wget failed (exit=8)
on_Snapshot__39_accessibility succeeded 511B 0.7s/30s accessibility/accessibility.json
on_Snapshot__37_favicon.finite.bg noresults - 4.5s/30s No favicon found
on_Snapshot__36_archivedotorg.fini… succeeded 53B 6.7s/60s archivedotorg/archive.org.txt
on_Snapshot__25_redirects.daemon.bg succeeded 348B 13.8s/30s redirects/redirects.jsonl
on_Snapshot__45_infiniscroll succeeded - 9.2s/120s scrolled 1,913px
on_Snapshot__50_singlefile succeeded 858B 4.0s/60s singlefile/singlefile.html
on_Snapshot__51_screenshot succeeded 18KB 0.5s/60s screenshot/screenshot.png
on_Snapshot__52_pdf succeeded 9KB 0.8s/60s pdf/output.pdf
on_Snapshot__53_dom succeeded 2KB 0.8s/60s dom/output.html
on_Snapshot__54_chrome_mhtml succeeded 2KB 1.2s/60s chrome_mhtml/snapshot.mhtml
on_Snapshot__54_title succeeded 29B 0.6s/30s HTTP Status 404 – Not Found
on_Snapshot__56_readability noresults - 0.7s/30s No content extracted
on_Snapshot__57_defuddle noresults - 0.5s/30s No content extracted
on_Snapshot__57_mercury noresults - 1.4s/30s Mercury was not able to extract article
on_Snapshot__58_htmltotext succeeded 59B 0.2s/30s htmltotext/htmltotext.txt
on_Snapshot__59_trafilatura succeeded 370B 1.0s/30s trafilatura/content.txt
on_Snapshot__61_liteparse noresults - 0.9s/180s No document sources found
on_Snapshot__65_archivewebpage_stop succeeded 7KB 1.1s/60s archivewebpage/archivewebpage.wacz
on_Snapshot__66_papersdl.finite.bg noresults - 0.3s/300s No papers found
on_Snapshot__70_parse_html_urls noresults - 0.3s/60s 0 URLs parsed
on_Snapshot__71_parse_txt_urls noresults - 1.1s/60s 0 URLs parsed
on_Snapshot__72_parse_rss_urls noresults - 1.3s/60s 0 URLs parsed
on_Snapshot__73_parse_netscape_urls noresults - 1.2s/60s 0 URLs parsed
on_Snapshot__74_parse_jsonl_urls noresults - 1.2s/60s 0 URLs parsed
on_Snapshot__75_parse_dom_outlinks noresults - 0.7s/30s 0 URLs parsed
on_Snapshot__91_index_sonic failed - 1.4s/60s ERROR: SonicServerError: ERR query_error
on_Snapshot__01_chrome_tab.daemon.… succeeded 4KB 43.6s/60s target=A051F9C8EB9B246324EC1AFD42A2FFFD port=…
on_Snapshot__26_staticfile.daemon.… failed - 38.0s/30s Received SIGTERM, emitting final results...
on_Snapshot__13_istilldontcareabou… noresults - 41.9s/60s 0 cookie consent popups hidden
on_Snapshot__23_sslcerts.daemon.bg succeeded 16KB 39.3s/30s EM DV TLS CA - G2A-1
on_Snapshot__24_responses.daemon.bg succeeded 9KB 38.9s/30s 16 responses
on_Snapshot__22_dns.daemon.bg succeeded 249B 39.7s/30s 164.100.112.2
on_Snapshot__12_ublock.daemon.bg noresults - 42.4s/60s 0 ad requests blocked | 0 elements hidden
on_Snapshot__15_modalcloser.daemon… noresults - 41.5s/1250s 0 modals closed
on_Snapshot__02_chrome_screencast.… succeeded - 43.3s/60s 20 screencast frames (0 kept)
on_Snapshot__21_consolelog.daemon.… succeeded 2KB 40.1s/30s 4 errors | 5 warnings
on_Snapshot__93_hashes succeeded 9KB 0.3s/30s 0.1MB bd111104a03e
on_CrawlSetup__90_chrome_launch.da… succeeded - 49.8s/60s chromium exited successfully
snapshot output saved to:
/home/ig/archivebox/data/archive/users/ig/snapshots/20260926/aaib.gov.in/06ab735554b47d1580007ddc7702edbc
crawl logs and setup:
./archive/users/ig/crawls/20260926/aaib.gov.in/06ab73552e2875a88000e65a2a96cfac
http://admin.archivebox.localhost:8000/admin/crawls/crawl/06ab73552e2875a88000e65a2a96cfac/change/
total urls snapshotted: 1
total size: 92.7 KB
total time: 1m 3s
ig@XXXX:~/archivebox/data$ archivebox list
sealed 06ab735554b47d1580007ddc7702edbc https://aaib.gov.in/WhatArchiveBox Version
0.9.51
ArchiveBox v0.9.51 COMMIT_HASH=b5646cc BUILD_TIME=2026-09-25 22:50:36 1790376636
IN_DOCKER=False IN_QEMU=False ARCH=x86_64 OS=Linux
PLATFORM=Linux-6.18.33.2-microsoft-standard-WSL2-x86_64-with-glibc2.36 PYTHON=Cpython (venv)
EUID=1000:1000 UID=1000:1000 ARCHIVEBOX_USER=1000:1000 FS_UID=1000:1000 FS_PERMS=644 FS_ATOMIC=True FS_REMOTE=False
DEBUG=False IS_TTY=True SUDO=False ID=97e140c8:19481597 SEARCH_BACKEND=sonic LDAP=False
Binary Dependencies:
Binary Plugin Path
archivewe… archivewebpage ABXPKG_LIB_DIR/chromewebstore/extensions/archivewebpage.extension.json
node chrome, claudecode… ~/.nvm/versions/node/v24.11.0/bin/node
abxbus chrome ABXPKG_LIB_DIR/pnpm/packages/abxbus/node_modules/.pnpm/[email protected]/node_modules/ab…
browsers chrome ABXPKG_LIB_DIR/pnpm/packages/chrome/node_modules/.bin/browsers
chromium chrome ABXPKG_LIB_DIR/puppeteer/bin/chromium
claudechr… claudechrome disabled by CLAUDECHROME_ENABLED=False
claude claudecode disabled by CLAUDECODE_ENABLED=False
defuddle defuddle ABXPKG_LIB_DIR/pnpm/packages/defuddle/node_modules/.bin/defuddle
forum-dl forumdl ABXPKG_LIB_DIR/uv/packages/forum-dl/venv/bin/forum-dl
gallery-dl gallerydl ABXPKG_LIB_DIR/uv/packages/gallery-dl/venv/bin/gallery-dl
git git, opencode /usr/bin/git
istilldon… istilldontcareabou… ABXPKG_LIB_DIR/chromewebstore/extensions/istilldontcareaboutcookies.extension.json
lit liteparse ABXPKG_LIB_DIR/pnpm/packages/liteparse/node_modules/.bin/lit
tesseract liteparse /usr/bin/tesseract
convert liteparse /usr/bin/convert-im6.q16
postlight… mercury ABXPKG_LIB_DIR/npm/packages/mercury/node_modules/@postlight/parser/cli.js
npm opencode disabled by OPENCODE_ENABLED=False
opencode opencode disabled by OPENCODE_ENABLED=False
opendatal… opendataloader disabled by OPENDATALOADER_ENABLED=False
java opendataloader disabled by OPENDATALOADER_ENABLED=False
ots opentimestamps disabled by OPENTIMESTAMPS_ENABLED=False
papers-dl papersdl ABXPKG_LIB_DIR/uv/packages/papers-dl/venv/bin/papers-dl
feedparser parse_rss_urls ABXPKG_LIB_DIR/uv/packages/parse_rss_urls-6.0.12/venv/lib/python3.13/site-packages/f…
readabili… readability ABXPKG_LIB_DIR/pnpm/packages/readability/node_modules/.bin/readability-extractor
rg search_backend_rip… /usr/bin/rg
sonic search_backend_son… /usr/bin/sonic
singlefile singlefile ABXPKG_LIB_DIR/chromewebstore/extensions/singlefile.extension.json
tlsnotary tlsnotary disabled by TLSNOTARY_ENABLED=False
trafilatu… trafilatura ABXPKG_LIB_DIR/uv/packages/trafilatura-2.1.0/venv/bin/trafilatura
twocaptcha twocaptcha ABXPKG_LIB_DIR/chromewebstore/extensions/twocaptcha.extension.json
ublock ublock ABXPKG_LIB_DIR/chromewebstore/extensions/ublock.extension.json
wget wget /usr/bin/wget
yt-dlp ytdlp ABXPKG_LIB_DIR/uv/packages/yt-dlp/venv/bin/yt-dlp
ffmpeg ytdlp /usr/bin/ffmpeg
Code locations:
√ PACKAGE_DIR 25 files valid ~/.local/share/uv/tools/archivebox/lib/python3.13/site-packages/archivebox
√ TEMPLATES_DIR 6 files valid ~/.local/share/uv/tools/archivebox/lib/python3.13/site-packages/archivebox/templates
- CUSTOM_TEMPLATES_DIR missing unused ./custom_templates
- USER_PLUGINS_DIR missing unused ./custom_plugins
√ ABXPKG_LIB_DIR 10 files valid ~/.config/abx/lib
Data locations:
√ DATA_DIR 15 files valid ~/archivebox/data
√ CONFIG_FILE 2.1 KB valid ./ArchiveBox.conf
√ SQL_INDEX 220.8 MB valid ./index.sqlite3
√ ARCHIVE_DIR 960 files valid ./archive
√ USERS_DIR 1 files valid ./archive/users
√ SOURCES_DIR 0 files valid ./sources
√ PERSONAS_DIR 1 files valid ./personas
√ LOGS_DIR 14 files valid ./logs
√ TMP_DIR 6 files valid ./tmp/97e140c8How did you install the version of ArchiveBox you are using?
Other
What operating system are you running on?
Windows (including WSL, WSL2, Docker Desktop on Windows)
What type of drive are you using to store your ArchiveBox data?
- some of
data/is on a local SSD or NVMe drive - some of
data/is on a spinning hard drive or external USB drive - some of
data/is on a network mount (e.g. NFS/SMB/Ceph/GlusterFS/etc.) - some of
data/is on a FUSE mount (e.g. SSHFS/RClone/S3/B2/Google Drive/Dropbox/etc.)
Docker Compose Configuration
ArchiveBox Configuration
# This is the config file for your ArchiveBox collection.
#
# You can add options here manually in INI format, or automatically by running:
# archivebox config --set KEY=VALUE
#
# This file is kept in sync 1:1 with the current Machine.config in the DB —
# editing either side propagates to the other. ``archivebox init`` reads
# this file on startup; the admin Machine.config editor writes both.
#
# Full reference:
# https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration
[SHELL_CONFIG]
BASE_URL = http://archivebox.localhost:8000
PERMISSIONS = public
PUBLIC_ADD_VIEW = False
PUBLIC_INDEX = True
SECRET_KEY = kctw9uf7r4sefab07ygtay61kb5wm990gltmn0o5460mpzsxq6
SERVER_SECURITY_MODE = auto
URL_DENYLIST = (member|search|misc|private|register|login|newreply|report|subscription|printthread|usercp|sendmessage)\.php
[PLUGINS]
CHROME_BINARY = /home/ig/.config/abx/lib/puppeteer/bin/chromium
DEFUDDLE_BINARY = /home/ig/.config/abx/lib/pnpm/packages/defuddle/node_modules/.bin/defuddle
FFMPEG_BINARY = /home/ig/.config/abx/lib/env/bin/ffmpeg
FORUMDL_BINARY = /home/ig/.config/abx/lib/uv/packages/forum-dl/venv/bin/forum-dl
GALLERYDL_BINARY = /home/ig/.config/abx/lib/uv/packages/gallery-dl/venv/bin/gallery-dl
GIT_BINARY = /home/ig/.config/abx/lib/env/bin/git
LITEPARSE_BINARY = /home/ig/.config/abx/lib/pnpm/packages/liteparse/node_modules/.bin/lit
LITEPARSE_IMAGEMAGICK_BINARY = /home/ig/.config/abx/lib/env/bin/convert
LITEPARSE_TESSERACT_BINARY = /home/ig/.config/abx/lib/env/bin/tesseract
MERCURY_BINARY = /home/ig/.config/abx/lib/npm/packages/mercury/node_modules/.bin/postlight-parser
NODE_BINARY = /home/ig/.config/abx/lib/env/bin/node
PAPERSDL_BINARY = /home/ig/.config/abx/lib/uv/packages/papers-dl/venv/bin/papers-dl
READABILITY_BINARY = /home/ig/.config/abx/lib/pnpm/packages/readability/node_modules/.bin/readability-extractor
RIPGREP_BINARY = /home/ig/.config/abx/lib/env/bin/rg
SONIC_BINARY = /home/ig/.config/abx/lib/env/bin/sonic
TRAFILATURA_BINARY = /home/ig/.config/abx/lib/uv/packages/trafilatura-2.1.0/venv/bin/trafilatura
WGET_BINARY = /home/ig/.config/abx/lib/env/bin/wget
YTDLP_BINARY = /home/ig/.config/abx/lib/uv/packages/yt-dlp/venv/bin/yt-dlpSource: ArchiveBox/ArchiveBox