Created
January 29, 2017 21:46
-
-
Save mentix02/81a1e645efd29abfca330d61838e00cb 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