cleanup; seems broken now getting 403s...
This commit is contained in:
9
band
9
band
@@ -1,15 +1,15 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# http://github.com/mitchweaver/bin
|
||||
# http://github.com/mitchweaver/metal-archives
|
||||
#
|
||||
# get a given band pic from metal-archives.com
|
||||
#
|
||||
# Usage: ./band 'judas iscariot'
|
||||
#
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
import urllib
|
||||
import sys
|
||||
import urllib
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
def band_pic(band):
|
||||
try:
|
||||
@@ -32,4 +32,5 @@ def band_pic(band):
|
||||
def main():
|
||||
band_pic(sys.argv[1])
|
||||
|
||||
if __name__ == "__main__": main()
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user