βοΈ Settings and Configuration
Detailed description of all functions and parameters of YouTube-Parser for effective data extraction from YouTube.
π Search Results Parsingβ
The main function for collecting data based on search queries. Allows finding videos, channels, and playlists by keywords.
YouTube API Methodβ
π― Input Dataβ
- Type: Dropdown list
- Value: Search query
- Description: Keywords are specified line by line in the
1_Search_Keywords.txt
file
π Type of Data to Collectβ
- Options: Video | Playlist | Channel
- Default: Video
- Purpose: Determines what type of content will be found by the query
π Results Orderβ
- Options:
- By relevance (recommended)
- By upload date
- By view count
- By rating
- By title
- By number of uploaded videos
- Application: Affects the priority of results in search output
π Date Filtersβ
- Published after: Format DD.MM.YYYY
- Published before: Format DD.MM.YYYY
- Note: Both fields must be filled for the filter to work
π¬ Additional Filtersβ
- Topic: Music, Games, Sports, Technology, etc.
- Video category: Entertainment, Education, News, etc.
- Resolution: HD 1080 | Standard
- Duration: Long | Medium | Short
- Subtitles: Only with subtitles | Without subtitles
InnerTube API Methodβ
π·οΈ Hashtag Parsingβ
- Type: Toggle
- Purpose: Search by hashtags like
#keyword
- Feature: Filters are not applied in this mode
β° Upload Date Filterβ
- Options: Last hour | Today | This week | This month | This year
πΊ Video Metadata Parsingβ
Collection of detailed information about videos: views, likes, comments, description, and other characteristics.
π― Input Dataβ
- Options: Video | Channel
- Video: Links in the
3_Video_Urls.txt
file - Channel: Links in the
2_Channels_Urls.txt
file
π§ Filtering Parametersβ
π Latest Videos from Channelβ
- Type: Number
- Default: 10
- Purpose: Limits the number of latest videos for analysis
ποΈ View Count [from]β
- Type: Number
- Default: 10000
- Application: Selects videos with a minimum number of views
π Publication Date [from]β
- Format: DD.MM.YYYY
- Example: 01.01.2025
- Purpose: Analysis of only fresh content
β±οΈ Video Length [from]-[to]β
- Format: seconds
- Examples:
120-500
(from 2 to 8 minutes)120-
(from 2 minutes)-500
(up to 8 minutes)
πͺ Channel Metadata Parsingβ
Extraction of information about channels: subscribers, description, contacts, statistics.
π§ Contact Extractionβ
βοΈ Collect Email Addresses from Descriptionβ
- Type: Toggle
- Purpose: Automatic search for emails in channel description
- Application: Useful for finding contacts for collaboration
π― Save Only Channels with Emailsβ
- Type: Toggle
- Effect: Filters results, keeping only channels with found contacts
π« Exclude Previously Collected Emailsβ
- Type: Toggle
- Function: Uses a blacklist to avoid duplicates
π Channel Filteringβ
π₯ Subscriber Count [from]β
- Default: 1000
- Purpose: Selection of channels with a specific audience
- Note: Hidden data is excluded
π View Count [from]β
- Default: 10000
- Application: Evaluation of channel popularity
π Creation Year [up to]β
- Default: 2012
- Goal: Search for experienced or new channels
π Countries [comma-separated]β
- Format: ISO 3166-1 alpha-2
- Example:
US, GB, CA, DE, FR, AU
- Purpose: Geographic filtering
π Playlist Parsingβ
Analysis of playlists and videos in them for studying thematic content.
π― Data Sourcesβ
- Playlist: File
4_Playlists_Urls.txt
- Channel: File
2_Channels_Urls.txt
(all channel playlists)
π Data Obtainedβ
- Playlist title and description
- Number of videos
- Creation date
- List of all videos in the playlist
π¬ Comment Parsingβ
Extraction of comments for audience analysis and feedback.
π― Sourcesβ
- For videos: Files
3_Video_Urls.txt
or2_Channels_Urls.txt
- For posts: Files
5_Posts_Urls.txt
or2_Channels_Urls.txt
π Search Parametersβ
π Comment Search [contains]β
- Type: Text
- Support: Regex expressions
- Application: Search for brand mentions, keywords
π Like Count [from]β
- Default: 5
- Purpose: Selection of popular comments
π Publication Date [from]β
- Format: DD.MM.YYYY HH:MM
- Application: Analysis of fresh discussions
π« Exclude Repliesβ
- Type: Toggle
- Effect: Collect only main comments
πΎ Content Downloadingβ
Download videos, audio, subtitles, and thumbnails for offline use.
π¬ Video Downloadingβ
π― Data Sourcesβ
- Video: File
3_Video_Urls.txt
- Playlist: File
4_Playlists_Urls.txt
- Channel: File
2_Channels_Urls.txt
πΉ Video Typeβ
- Options: Any | Videos | Livestreams | Shorts
- Application: For channels - selection of content type for downloading
ποΈ Stream Typeβ
- Video: Video + audio
- Audio: Audio track only
π§ Video Qualityβ
- 360p/720p Muxed: Fast downloading without merging
- 1080p/1440p/2160p: High quality with subsequent merging
- Max: Maximum available quality
πΌοΈ Additional Optionsβ
- Download thumbnails: Save video previews
- Number of videos: Limit for mass downloading
π Subtitle Downloadingβ
π Subtitle Languageβ
- Format: ISO 639-1 (two-letter code)
- Example:
en
for English,ru
for Russian
π Subtitle Typeβ
- Uploaded by author: High-quality, manually created
- Auto-generated: YouTube machine translation
- Any: Priority to author subtitles
βοΈ Formattingβ
- Type: Toggle
- Effect: Conversion to plain text without timestamps
π Additional Settingsβ
π API Managementβ
π Shuffle API Keysβ
- Purpose: Even distribution of load
- Effect: Increased parsing speed
π Proxy Settingsβ
π Use Proxyβ
- Application: Required for InnerTube API
- Function: Bypassing YouTube restrictions
π Proxy Rotationβ
- Mode: Cyclic use
- Warning: Possible hanging when limits are exhausted
π‘οΈ Protection Against Blockingβ
β±οΈ Delay Between Requestsβ
- Time: 1 second
- Purpose: Prevention of captcha when working without proxy
π Regional Settingsβ
π Countryβ
- Format: ISO 3166-1 alpha-2
- Default: US
- Influence: Emulation of regional results
π£οΈ Languageβ
- Format: ISO 639-1
- Default: en
- Effect: Localization of results
π‘ Usage Recommendationsβ
π For Beginnersβ
- Start with YouTube API - more stable and fast
- Use simple search queries without complex filtering
- Test on small volumes of data
β‘ For Experienced Usersβ
- Combine API methods to get the maximum amount of data
- Configure filtering for precise targeting
- Use proxies for large-scale parsing via InnerTube
β οΈ Important Limitationsβ
- YouTube API: Maximum 600 results per query
- Filtering: Applied after data retrieval
- Regionality: Results depend on the selected country and language