Skip to content

Instantly share code, notes, and snippets.

@Maik-Wi
Maik-Wi / SoundcloudDL.py
Last active December 16, 2015 09:48 — forked from pudquick/SoundcloudDL.py
Dies ist ein Python-Script, mit dem man Musik von Scoundcloud runterladen kann. Ich nutze in diesem Script die Apps Safari, Pythonista und Documents. Mehr findet ihr unter http://buntepixel.org/?p=3337
import requests, random, datetime, sys, webbrowser, console, urllib, clipboard, bs4
def main():
song_page = None
if (len(sys.argv) > 0):
try:
song_page = sys.argv[1]
except Exception:
song_page = None
if not song_page:
# WakeOnLan
#
# Sends a wake-on-lan magic packet for the given MAC address
# to either the broadcast address of the local subnet, or,
# if provided, some other hostname.
# An alternate port can also be optionally provided.
import struct, socket
import sys