1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

pure evil

This commit is contained in:
Steffo 2018-12-11 23:58:43 +01:00
parent 5441ab51c4
commit f56c2b1fe8

View file

@ -239,9 +239,9 @@ class YoutubeDLVideo(Video):
"outtmpl": self.get_filename(),
"quiet": True}) as ytdl:
# K/DA hard code, remove soon_ish
if "k/da" in self.name.lower():
if "POP/STARS" in self.name:
logger.debug("Secret plan successful.")
ytdl.download(["https://www.youtube.com/watch?v=qU7dqywqwWQ"])
ytdl.download(["https://www.youtube.com/watch?v=Wff8JAcRqhY"])
else:
ytdl.download([self.url])
logger.info(f"Completed youtube_dl download of {repr(self)}")