Traceback with hot-100
Closed this issue · 2 comments
ubitux commented
Just tried what's in the README
:
% playx hot-100
[Playlist]: Billboard Playlist passed.
Traceback (most recent call last):
File "/home/ux/.local/bin/playx", line 11, in <module>
load_entry_point('playx', 'console_scripts', 'playx')()
File "/home/ux/src/playx/playx/main.py", line 293, in main
playx(parser, args, song)
File "/home/ux/src/playx/playx/main.py", line 209, in playx
data = playlist.get_data()
File "/home/ux/src/playx/playx/playlist/playlist.py", line 218, in get_data
data, name = self._get_data()
File "/home/ux/src/playx/playx/playlist/playlist.py", line 152, in _get_data
data, name = self.dict[self.type].get_data(self.URL, self.pl_start, self.pl_end)
File "/home/ux/src/playx/playx/playlist/billboard.py", line 183, in get_data
billboard_playlist.extract_list_contents()
File "/home/ux/src/playx/playx/playlist/billboard.py", line 135, in extract_list_contents
Chart = BillboardIE(self.playlist_name)
File "/home/ux/src/playx/playx/playlist/billboard.py", line 53, in __init__
self.get_chart()
File "/home/ux/src/playx/playx/playlist/billboard.py", line 121, in get_chart
self.chart.append(Song(track, artist, rank))
File "/home/ux/src/playx/playx/playlist/billboard.py", line 33, in __init__
self._remove_duplicates()
File "/home/ux/src/playx/playx/playlist/playlistbase.py", line 38, in _remove_duplicates
self.search_query = remove_duplicates(self.search_query)
File "/home/ux/src/playx/playx/stringutils.py", line 97, in remove_duplicates
tokens = string.split()
AttributeError: 'NoneType' object has no attribute 'split'
deepjyoti30 commented
NISH1001 commented
@deepjyoti30 @ubitux Merged the PR. It's handled now.