Usage Guide
Overview
This guide walks you through the complete workflow of using the YouTube download toolkit, from collecting video links with the Chrome extension to downloading them with the Java application. The process is designed to be simple and efficient for managing large collections of YouTube videos.
Complete Workflow
Phase 1: Collection (Chrome Extension)
The first phase involves browsing YouTube and collecting videos you want to download later.
Step 1: Set Up Categories
-
Open the Extension Popup
- Click the YouTube Links Copy icon in your Chrome toolbar
- The popup window will display the extension interface
-
Define Your Categories In the "Params" text area, enter your desired categories, one per line:
music
tutorials
programming
entertainment
documentaries
lectures -
Save Categories
- Click the "Save All" button
- Your categories are now available in right-click context menus
Step 2: Collect Videos
-
Browse YouTube
- Navigate to https://www.youtube.com
- Browse videos, search results, or playlists
-
Categorize Videos
- Right-click on any video thumbnail
- Select the appropriate category from the context menu
- The video is automatically added to your collection
-
Visual Feedback
- Videos you've previously collected will show a green overlay square
- This helps avoid collecting the same video multiple times
Step 3: Review Collection
-
Open Extension Popup
- Click the extension icon to view your collected videos
-
Review Organized List The "List Links" area shows your videos organized by category:
entertainment
https://www.youtube.com/watch?v=dQw4w9WgXcQ
https://www.youtube.com/watch?v=oHg5SJYRHA0
music
https://www.youtube.com/watch?v=kJQP7kiw5Fk
https://www.youtube.com/watch?v=L_jWHffIx5E -
Manual Editing (Optional)
- You can manually edit the list in the text area
- Add quality preferences:
f=music;q=720
before URLs - Remove unwanted videos by deleting lines
Phase 2: Export (Chrome Extension)
Step 4: Export for Download
-
Copy Collection
- Click the "Copy Links" button in the extension popup
- The formatted list is copied to your clipboard
- A green "Copy success!" message confirms the action
-
Create Download File
- Open a text editor (Notepad, VS Code, etc.)
- Paste the copied content
- Save as a
.txt
file (e.g.,my-videos.txt
)
-
Add Quality Preferences (Optional) You can enhance the exported list with quality settings:
f=music;q=360
https://www.youtube.com/watch?v=VIDEO1
https://www.youtube.com/watch?v=VIDEO2
f=tutorials;q=1080
https://www.youtube.com/watch?v=VIDEO3
Phase 3: Download (Java Application)
Step 5: Configure Download Settings
-
Launch the Application
java -jar YoutubeDownloader.jar
Or double-click
run.bat
on Windows -
Review Configuration The application displays current settings:
Configuration settings
destinationFolderName: C:\Downloads\YouTube\
downloadedFileName: %(channel)s-%(upload_date)s-%(title)s-%(resolution)s.%(ext)s -
Modify Settings (if needed)
- Choose option 5 (Change Configuration Settings)
- Update download directory or file naming template
- Save and return to main menu
Step 6: Download Videos
-
Select Download Option Choose option 4: "Download list of videos from text file and choose resolution"
-
Specify File Path
[Default = list.txt]Enter file path of youtube list: my-videos.txt
- Enter the path to your exported file
- Press Enter to use the default file if it exists
-
Choose Quality
Enter resolution : 360?480?720?1080?best? ; best for faster download : 720
- Enter your preferred resolution
- "best" downloads the highest available quality fastest
-
Monitor Progress The application will:
- Process each video in the list
- Create folders based on categories
- Download videos with progress indicators
- Skip previously downloaded videos (if configured)
Advanced Usage Scenarios
Scenario 1: Mixed Quality Downloads
For different quality needs per category:
f=music;q=360
https://www.youtube.com/watch?v=MUSIC_VIDEO1
https://www.youtube.com/watch?v=MUSIC_VIDEO2
f=tutorials;q=1080
https://www.youtube.com/watch?v=TUTORIAL_VIDEO1
f=entertainment;q=720
https://www.youtube.com/watch?v=ENTERTAINMENT_VIDEO1
Result:
- Music videos: 360p (smaller files for audio focus)
- Tutorials: 1080p (high quality for detail)
- Entertainment: 720p (balanced quality/size)
Scenario 2: Playlist Processing
-
Collect Playlist Videos
- Navigate to a YouTube playlist
- Right-click individual videos to categorize them
- Or use option 3 in the Java app for entire playlists
-
Bulk Categorization
f=course_materials;q=720
https://www.youtube.com/watch?v=VIDEO1
https://www.youtube.com/watch?v=VIDEO2
https://www.youtube.com/watch?v=VIDEO3
Scenario 3: Audio-Only Downloads
For podcasts or music:
-
Use the Java Application Directly
- Choose option 2 (MP3 format)
- Enter YouTube URLs one by one
-
Or Modify the List Format
f=podcasts;q=best
https://www.youtube.com/watch?v=PODCAST_VIDEOThen manually convert using the MP3 option
Tips and Best Practices
Collection Tips
-
Organize as You Go
- Set up meaningful categories before browsing
- Use consistent naming (lowercase, no spaces)
- Consider your storage and bandwidth when choosing categories
-
Use Descriptive Categories
# Good categories
programming-tutorials
cooking-recipes
workout-videos
# Less helpful
stuff
videos
misc -
Regular Cleanup
- Periodically review your collected links
- Remove videos you no longer want
- Clear the collection after downloading
Download Tips
-
Quality Selection Strategy
- 360p: Good for audio-focused content, mobile viewing
- 720p: Balanced quality for most content
- 1080p: High quality for detailed tutorials, movies
- best: Fastest download, highest available quality
-
Folder Organization
- Use clear, hierarchical folder names
- Consider date-based organization:
tutorials-2024
- Keep folder names filesystem-friendly (no special characters)
-
Batch Processing
- Collect videos over time, download in batches
- Process during off-peak hours for better speeds
- Monitor disk space before large downloads
Performance Optimization
-
Network Considerations
- Download during off-peak hours for better speeds
- Use "best" quality for fastest downloads
- Consider bandwidth limits if on metered connection
-
Storage Management
- Regularly clean up downloaded videos
- Use appropriate quality settings for your needs
- Monitor available disk space
-
System Resources
- Close unnecessary applications during large downloads
- Ensure stable internet connection
- Don't interrupt downloads in progress
Troubleshooting Common Issues
Extension Issues
Videos not appearing in collection:
- Ensure you're right-clicking on video thumbnails
- Check that the extension is enabled
- Refresh the YouTube page and try again
Categories not showing in context menu:
- Verify categories are saved (click "Save All")
- Check for typos in category names
- Restart Chrome if issues persist
Download Issues
"Video already downloaded" messages:
- Check the
downloadOnlyNewVideos
setting - Review the
ids.txt
history file - Delete history file to re-download all videos
Download failures:
- Verify internet connection
- Update youtube-dl:
youtube-dl -U
- Check if videos are region-restricted or private
- Try with a different video to isolate the issue
Quality not available:
- The application automatically selects the best available quality
- Some videos may not have your requested resolution
- Use "best" for most reliable downloads
Workflow Variations
Quick Single Video Download
For immediate downloads without collection:
- Copy YouTube URL
- Open Java Application
- Choose Option 1 (One video MP4 format)
- Paste URL and select quality
Playlist Bulk Download
For entire playlists:
- Copy Playlist URL
- Choose Option 3 (Download full playlist)
- Select quality for all videos
Audio-Only Workflow
For music or podcasts:
- Collect videos normally with extension
- Use Option 2 in Java app for individual MP3 downloads
- Or use external tools for batch MP3 conversion
This comprehensive workflow ensures efficient collection, organization, and downloading of YouTube videos while maintaining quality control and avoiding duplicates.