Advertisement
0x52

Rip fra ereolen

Aug 6th, 2022 (edited)
678
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import sys, os
  2.  
  3. # Argument 1: GUID
  4. # Argument 2: Navn
  5.  
  6. url = "https://audio.api.streaming.pubhub.dk/v1/stream/hls/" + sys.argv[1] + "/playlist.m3u8"
  7. option = ("ffmpeg -i " + url + " -v quiet -stats -vn -codec:a libvorbis " + repr(sys.argv[2]) + ".ogg")
  8. os.system(option)
  9.  
  10. # Brugseksempel:
  11. # python rip.py 8480a246-da5c-4259-99cf-4FALSKGUID03 "Vinden i falsktiteltr├Žerne"
Advertisement
RAW Paste Data Copied
Advertisement