Compare commits
No commits in common. "d739df71a4b70bf26920b8d1459b80b4d596e801" and "96c6bfa8fa053a94856d3f12f6635ab05f121fa3" have entirely different histories.
d739df71a4
...
96c6bfa8fa
2 changed files with 1 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,7 +3,6 @@
|
||||||
/blacklists
|
/blacklists
|
||||||
/lists*
|
/lists*
|
||||||
/results
|
/results
|
||||||
/youtube.pickle
|
|
||||||
|
|
||||||
# ---> Python
|
# ---> Python
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
|
|
|
@ -31,7 +31,7 @@ def generate_list(args):
|
||||||
(re.compile(r"[\?\&]v=(\w+)").search(_musik) or ("", _musik))[1]
|
(re.compile(r"[\?\&]v=(\w+)").search(_musik) or ("", _musik))[1]
|
||||||
for _musik in f.read().splitlines()
|
for _musik in f.read().splitlines()
|
||||||
]
|
]
|
||||||
_musiks = list(set(filter(lambda _m: _m not in blacklist, _raw_musiks)))
|
_musiks = list(filter(lambda _m: _m not in blacklist, _raw_musiks))
|
||||||
|
|
||||||
if len(_musiks) < args.number:
|
if len(_musiks) < args.number:
|
||||||
logger.error(
|
logger.error(
|
||||||
|
|
Loading…
Reference in a new issue