clean b4 html2txt

This commit is contained in:
mousebot 2020-04-24 17:32:43 -03:00
parent 5a6589b671
commit bea232667d
1 changed files with 1 additions and 9 deletions

View File

@ -28,6 +28,7 @@ import requests
import markovify
import sys
import argparse
import json
# argparse
def parse_the_args():
@ -140,9 +141,6 @@ def main():
text = read(args.infile)
# read -c file:
ctext = read(args.combine)
# except FileNotFoundError:
# print(fnf)
# sys.exit()
# if -C, combine it w infile/URL:
elif args.combine_URL:
@ -153,9 +151,6 @@ def main():
# or normal:
else:
text = read(args.infile)
# except FileNotFoundError:
# print(fnf)
# sys.exit()
# now combine_URL:
ctext = URL(args.combine_URL)
@ -184,9 +179,6 @@ def main():
else:
# try:
text = read(args.infile)
# except FileNotFoundError:
# print(fnf)
# sys.exit()
# Build the model:
# if --newline: