Exemple #1
0
def run_jstor(args: argparse.Namespace) -> None:
    ji = JstorImporter(args.api,
                       args.issn_map_file,
                       edit_batch_size=args.batch_size)
    Bs4XmlFileListPusher(ji, args.list_file, "article").run()
Exemple #2
0
def jstor_importer(api):
    with open('tests/files/ISSN-to-ISSN-L.snip.txt', 'r') as issn_file:
        yield JstorImporter(api,
                            issn_file,
                            extid_map_file='tests/files/example_map.sqlite3',
                            bezerk_mode=True)
Exemple #3
0
def jstor_importer(api):
    with open("tests/files/ISSN-to-ISSN-L.snip.txt", "r") as issn_file:
        yield JstorImporter(api, issn_file, bezerk_mode=True)