Skip to content

Commit

Permalink
Update fmtv-downloader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MMagTech committed Jun 19, 2024
1 parent 21613b3 commit 26706e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmtv-downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def download_song(video_url, song_title, artist, album, genre):
downloaded_file = os.path.join(DOWNLOAD_PATH, file_name)
if not os.path.exists(downloaded_file):
# Search and download the official video
video_url = search_official_video(song_title, artist)
video_url = search_video(song_title, artist)
if video_url:
logger.info(f'Found official video: {video_url}')
genre = get_track_info(artist, song_title)
Expand Down

0 comments on commit 26706e4

Please sign in to comment.