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.0.tar.gz (2.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page