Browse Source

Update scrape.py

changed spotitube.py to scrape.py
pull/1/head
RinRi 3 years ago
committed by GitHub
parent
commit
18d26c4088
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      scrape.py

+ 2
- 2
scrape.py View File

@@ -10,11 +10,11 @@ def main(argv):
try: try:
opts, args = getopt.getopt(argv,"hi:o:",["ifile=","ofile="]) opts, args = getopt.getopt(argv,"hi:o:",["ifile=","ofile="])
except getopt.GetoptError: except getopt.GetoptError:
print ('spotitube.py -i <Search Keyword> -o <Index>')
print ('scrape.py -i <Search Keyword> -o <Index>')
sys.exit(2) sys.exit(2)
for opt, arg in opts: for opt, arg in opts:
if opt == '-h': if opt == '-h':
print ('spotitube.py -i <Search Keyword> -o <Index>')
print ('scrape.py -i <Search Keyword> -o <Index>')
sys.exit() sys.exit()
elif opt in ("-i", "--ifile"): elif opt in ("-i", "--ifile"):
inputfile = arg inputfile = arg


Loading…
Cancel
Save