Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcomp07 committed Sep 20, 2024
1 parent b625462 commit bd6b612
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
chrome/
chromeDriver/


# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
# url_capture
# # URL Capture Tool v2.1

## Overview
The URL Capture Tool is designed to capture URLs from open browser tabs, allowing for optional modifications such as URL replacement, adding extensions, and downloading files from captured URLs. This tool is particularly useful for users needing to collect URLs for specific purposes, such as fetching GIFs or images from various sources.

## Dependencies
- **Chrome Browser**: Ensure you have Google Chrome installed.
- **ChromeDriver**: This program uses ChromeDriver to control the Chrome browser. You can download it from [Chrome for Testing](https://googlechromelabs.github.io/chrome-for-testing/).

## How to Start the Program
1. Ensure that Chrome and ChromeDriver are correctly set up on your machine.
2. Run the `python main.py` script in your Python environment.
3. The GUI will open, allowing you to start capturing URLs, set optional configurations, and manage captured URLs.

## Use Cases
- Capture multiple URLs from various tabs in a single browsing session.
- Modify URLs by replacing specific parts or adding file extensions.
- Download files associated with captured URLs to a specified folder.

## Limitations
- The tool captures URLs only from tabs that are currently open in the Chrome browser.
- It does not capture or close the first tab to avoid losing the original browsing context.
- The browser window will close after stopping the capture session, so ensure to save your work before stopping.

## Credits
This tool utilizes free GIFs from [gifer.com](https://gifer.com). Special thanks to Gifer for providing accessible GIFs.

## Motivation
The program was developed out of the need to obtain the "sign with robert" GIF for the [two-way-sign](https://github.com/minikzzie/two-way-sign) project on GitHub.
Empty file added main.py
Empty file.
Empty file added requirements.txt
Empty file.
Empty file added setup.bat
Empty file.
13 changes: 13 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# Create a virtual environment
python3 -m venv venv

# Activate the virtual environment
source venv/bin/activate

# Install required dependencies from requirements.txt
pip install -r requirements.txt

# Run the main Python script
python main.py

0 comments on commit bd6b612

Please sign in to comment.