Skip to content

Instantly share code, notes, and snippets.

View xatuke's full-sized avatar
⚗️
cooking that code

Aayushman Choudhary xatuke

⚗️
cooking that code
View GitHub Profile
#!/usr/bin/python3
import requests
import re
folder = input()
data = requests.get(folder)
lines = data._content.decode('utf-8')
files = re.findall('href="(.*)"', lines)
for i in range(1, len(files)):
print(folder+files[i])