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 argparse | |
import socket | |
import sys | |
Version = "1.0" | |
parser = argparse.ArgumentParser() | |
parser.add_argument("host", action="store", help="The host to test") | |
parser.add_argument("-r", action="store", dest="range", help="A range of ports to scan speperated by a -, for example: -r 125-150") | |
parser.add_argument("--version", action="version", version="%(prog)s {}".format(Version)) |
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 | |
import json | |
""" | |
The Youtube API only provides a certain amount of results per page, so if there | |
are lots of videos in a playlist it will need multiple pages to get all the videos | |
""" | |
# EDIT THESE | |
api_key = "YOUTUBE V3 API KEY" |
NewerOlder