Skip to main content

Utility to print the URLs currently open in Firefox.

Project description

Copyright 2019 Luís Gomes <luismsgomes@gmail.com>, all rights reserved.

This program/library is now based on the firefox_profile module (https://github.com/luismsgomes/firefox-profile).

Installation

pip3 install get-firefox-urls

Usage from Python

Please take look at firefox_profile module, which offers a more interesting API: https://github.com/luismsgomes/firefox-profile

from get_firefox_urls import get_firefox_urls

for w, t, url in get_firefox_urls():
    print("window %d tab %d: %s" % (w, t, url))

Usage from command line

get-firefox-urls

Will output something like:

window 0 tab 0: https://github.com/luismsgomes/get-firefox-urls
window 0 tab 1: https://pypi.org/project/get-firefox-urls/

License

This software is licensed under the MIT license.

https://opensource.org/licenses/MIT

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

get_firefox_urls-0.2.1.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file get_firefox_urls-0.2.1.tar.gz.

File metadata

  • Download URL: get_firefox_urls-0.2.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for get_firefox_urls-0.2.1.tar.gz
Algorithm Hash digest
SHA256 355f74bb5092d66c28e939451ab67fd06f721dde8fbdd6385c7f7939661e2b65
MD5 d15b11b83c98787998f2a173d684aab7
BLAKE2b-256 ea382654f0504245dbbaa07d559182a243435febf6fd61405fd9fe893024edee

See more details on using hashes here.

Supported by

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