This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |