mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Small encoding changes
This commit is contained in:
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
LICENSE.txt
Normal file → Executable file
0
LICENSE.txt
Normal file → Executable file
0
core/__init__.py
Normal file → Executable file
0
core/__init__.py
Normal file → Executable file
0
core/metadata.py
Normal file → Executable file
0
core/metadata.py
Normal file → Executable file
0
core/misc.py
Normal file → Executable file
0
core/misc.py
Normal file → Executable file
0
requirements.txt
Normal file → Executable file
0
requirements.txt
Normal file → Executable file
1
spotdl.py
Normal file → Executable file
1
spotdl.py
Normal file → Executable file
@@ -58,6 +58,7 @@ def generate_YouTube_URL(raw_song):
|
|||||||
# generate direct search YouTube URL
|
# generate direct search YouTube URL
|
||||||
searchURL = misc.generate_search_URL(song)
|
searchURL = misc.generate_search_URL(song)
|
||||||
item = urllib2.urlopen(searchURL).read()
|
item = urllib2.urlopen(searchURL).read()
|
||||||
|
item = unicode(item, 'utf-8')
|
||||||
items_parse = BeautifulSoup(item, "html.parser")
|
items_parse = BeautifulSoup(item, "html.parser")
|
||||||
check = 1
|
check = 1
|
||||||
if args.manual:
|
if args.manual:
|
||||||
|
|||||||
Reference in New Issue
Block a user