🏠 

DuckDuckGo URL Collector

Collects all URLs from DuckDuckGo search results with logging and duplicate prevention


Install this script?

Ask a question, post a review, or report the script.
Author
Ghosty-Tongue
Daily installs
0
Total installs
1
Ratings
0 0 0
Version
1.1
Created
2025-01-29
Updated
2025-01-29
Size
5.5 KB
License
MIT
Applies to

DuckDuckGo URL Collector
A Tampermonkey/Greasemonkey script for comprehensive search result management

🔍 Description

This userscript automatically collects all unique URLs from DuckDuckGo search results, including those hidden behind pagination ("More Results"). Features include:

📥 Installation

  1. Install a userscript manager:

  2. Install the script

  3. Confirm installation in your userscript manager

🚀 Usage Guide

  1. Navigate to DuckDuckGo
  2. Perform any search
  3. Look for the animated 🦆 button (top-right corner)
  4. Click the button to start collection
  5. Wait while the script:
    • Automatically loads all results (clicking "More Results")
    • Collects unique URLs
    • Shows progress in console
  6. Automatic download (urls.txt) when complete

⚙️ Technical Features

⚠️ Limitations

  1. Only works on DuckDuckGo search results pages
  2. Dependent on DuckDuckGo's DOM structure
  3. Requires JavaScript enabled
  4. May not work with some privacy extensions
  5. Limited to ~1000 results (DuckDuckGo's pagination limit)

🔧 Troubleshooting

Problem: Button not appearing
✅ Solutions:

Problem: Partial results collection
✅ Solutions:

Problem: File not downloading
✅ Solutions:

🛠️ Customization (Advanced)

Modify these values in the script:

// Change delay between page loads (ms)
await new Promise(resolve => setTimeout(resolve, 2000));
// Modify filename
a.download = 'urls.txt';
// Change button styling
Object.assign(btn.style, { ... });

📜 License

MIT Licensed - Feel free to modify/redistribute but please: