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