This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This migration demonstrates importing from a monolithic JSON file. | |
# Forked from https://github.com/heddn/json_example_migrate/blob/json/web/modules/custom/custom_migrate/config/install/migrate_plus.migration.omdb_json.yml | |
id: omdb_json | |
label: JSON feed of movies | |
migration_group: json_example | |
source: | |
# We use the JSON source plugin. | |
plugin: url | |
data_fetcher_plugin: http | |
data_parser_plugin: json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cat $1 | | |
# Remove the titles on the first line | |
sed 1d | | |
gawk ' | |
BEGIN { |