Skip to content

Commit

Permalink
fixed small pylint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
remi1111 committed Mar 30, 2024
1 parent 6ba0678 commit e3a6f0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/get_avs.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
""" Retrieve information from youtube. """
import yt_api

def get_dict_channel(channel_id):
""" Get dictionary of info for each song from a channel"""
video_list = yt_api.get_video_list(yt_api.get_upload_list(channel_id))
video_list = yt_api.get_video_list(yt_api.get_upload_list(channel_id), [])
artist = video_list[0]['snippet']['channelTitle'].replace(" - Topic", "")
print(artist)
songlist = []
Expand Down

0 comments on commit e3a6f0f

Please sign in to comment.