-
-
Save okraskaj/0a6f328652e93da2cb2a52e83ff488bf to your computer and use it in GitHub Desktop.
Facebook solution to a problem.
This file contains hidden or 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
#!/usr/bin/python3 | |
import os | |
def main(): | |
urlFirst = 'http://www.mywebsite.com/img/' | |
extension = '.jpg' | |
for i in range(801): | |
os.system('wget' + urlFirst + str(i) + extension) | |
print("Downloaded!") | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment