import sys
sys.path.append('/usr/local/lib/python3.4/site-packages/')

from warc_dedup import deduplicate


def main():
    if len(sys.argv) == 1:
        raise Exception('Please provide the WARC file as argument.')
    deduplicate.Warc(*sys.argv[1:]).deduplicate()

if __name__ == '__main__':
    main()


[((2, 0, 2, 58), 'sys.path.append', 'sys.path.append', ({(2, 16, 2, 57): '"""/usr/local/lib/python3.4/site-packages/"""'}, {}), "('/usr/local/lib/python3.4/site-packages/')", False, 'import sys\n'), ((10, 4, 10, 35), 'warc_dedup.deduplicate.Warc', 'deduplicate.Warc', ({(10, 21, 10, 34): '*sys.argv[1:]'}, {}), '(*sys.argv[1:])', False, 'from warc_dedup import deduplicate\n')]