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
arr = "abcdefghijklmnopqrstuwxyz" | |
key = 3 | |
plain = "hello world 2day" | |
cyper = ""; | |
for c in plain: | |
if c.isalpha() : cyper += arr[(arr.index(c)+3)%26] | |
else: cyper += c | |
print(cyper) |
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
from pytube import YouTube, Playlist | |
class downloader: | |
@staticmethod | |
def start_downloader(url, video_type, fielext, place, audio): | |
try: | |
yt = YouTube(url) | |
print(yt.streams.all()) | |
if not audio: |