Skip to content

Add music scraper with change the perfomance of the playlistify to add songs#2

Open
Danialsamadi wants to merge 2 commits into
arashnm80:mainfrom
Danialsamadi:main
Open

Add music scraper with change the perfomance of the playlistify to add songs#2
Danialsamadi wants to merge 2 commits into
arashnm80:mainfrom
Danialsamadi:main

Conversation

@Danialsamadi

Copy link
Copy Markdown

What's New

Music Scraper

  • Added music_scraper.py - extracts audio metadata from Telegram channels
  • Interactive channel selection (no more hardcoded usernames!)
  • Downloads channel profile pics for playlist covers
  • Optional auto-playlist creation after extraction

Performance

  • Multithreading for song matching ( faster idk how much faster though)
  • Rate limiting protection so we don't get blocked
  • Smart retry logic for failed requests
  • Thread-safe operations with proper locking

WARP Proxy Support

  • Added --warp flag for proxy users
  • Falls back to direct connection if proxy fails
  • No proxy by default

Files Changed

  • music_scraper.py - new Telegram scraper
  • functions.py - added multithreading + rate limiting
  • config.py - optional WARP proxy support
  • playlistify.py - better error handling
  • README.md - updated docs
  • requirements.txt - added telethon dependency

How to Use

# Extract from Telegram
python music_scraper.py

# Create Spotify playlist
python playlistify.py

# With WARP proxy
python playlistify.py --warp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant