import subprocess,sys,os
Q=["Bushido Sonny Black offizielles Video 2014","Bushido Shindy CLA$$IC Video Kein Fick","Shindy FVCKB!TCHE$GETMONE$ Video","Bushido Kay One Fackeln im Wind Video live","Shindy Dreams Musikvideo","Shindy Stress ohne Grund Musikvideo Bushido offiziell","Bushido Sonny Black Box Making of"]
o=open(os.path.join(os.environ['TEMP'],'egj','search2.txt'),'w',encoding='utf-8')
for q in Q:
    r=subprocess.run([sys.executable,'-m','yt_dlp','--no-update','--flat-playlist','--print','%(id)s|%(duration)s|%(channel)s|%(title)s','ytsearch5:'+q],capture_output=True,env={**os.environ,'PYTHONIOENCODING':'utf-8'})
    o.write('## '+q+'\n'+r.stdout.decode('utf-8','replace')); o.flush()
o.write('DONE\n')
