Skip to main content

A tool to batch replace domains in bookmarks (HTML or Chrome JSON).

Project description

Bookmark Domain Replace

A Python CLI tool to batch replace domains in browser bookmarks (HTML exports or Chrome JSON files).

Features

  • Replace only the domain part of URLs
  • Supports shorthand replacements (like .com)
  • Dry-run mode to preview changes
  • Optional in-place modification

Example Usage

Dry-run:

bookmark-domain-replace bookmarks.html --target amazon.de --replace .com --dry

bookmark-domain-replace bookmarks.html --target amazon.de --replace .com

bookmark-domain-replace bookmarks.html --target amazon.de --replace .com --inplace

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bookmark_replace-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bookmark_replace-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file bookmark_replace-0.1.0.tar.gz.

File metadata

  • Download URL: bookmark_replace-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for bookmark_replace-0.1.0.tar.gz
Algorithm Hash digest
SHA256 91ee4a4944d246d6b948598f32d2ff870972415c22188c335357b4c56c29a913
MD5 5d3b5d6dfa650fbdafcdc1b4f8cefa4d
BLAKE2b-256 92ca7888a2326ff87e411801971ed0abd33dfaafe02e3da2749e03a43eeb9b23

See more details on using hashes here.

File details

Details for the file bookmark_replace-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bookmark_replace-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a3c668f06dbd5b9a9ccc06f7bca4ccdb14d56094a9b35bfb309abadb961e9c7
MD5 9b326f34d5c3a25af8ae02cd118f019a
BLAKE2b-256 4e1880c24b6476eb6839a0302be9508e51bed96a3a4c0b16b38e2d61cb11a184

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page