#image_uploads_dir = '/Users/ikravtsov/mamp_sites/wordpress/wp-content/uploads/2019/01/'

#domain = 'localhost:8888\/wordpress\/'
guid_template = 'https:\/\/{domain}?post_type=product&#038;p={new_post_id}'

img_guid_template = "https:\/\/{domain}wp-content\/uploads\/2019\/{month}\/{slug}.jpg"


img_post_data = {
    "post_author":"1",
    "post_date":"2019-01-23 13:47:22",
    "post_date_gmt":"2019-01-23 13:47:22",
    "post_content":"",
    "post_title":"162f473cb7bb6c80190a88e0b80e1cb1",
    "post_excerpt":"",
    "post_status":"inherit",
    "comment_status":"open",
    "ping_status":"closed",
    "post_password":"",
    "post_name":"162f473cb7bb6c80190a88e0b80e1cb1",
    "to_ping":"",
    "pinged":"",
    "post_modified":"2019-01-23 13:47:22",
    "post_modified_gmt":"2019-01-23 13:47:22",
    "post_content_filtered":"",
    "post_parent":"63",
    "guid":"",
    "menu_order":"0",
    "post_type":"attachment",
    "post_mime_type":"image\/jpeg",
    "comment_count":"0"
}

img_meta_1 = {
    "post_id":"64",
    "meta_key":"_wp_attached_file",
    "meta_value":""
}

img_meta_1_value_template = "2019\/{month}\/{slug}.jpg"

img_meta_2 = {
    "post_id":"64",
    "meta_key":"_wp_attachment_metadata",
    "meta_value":""
}

img_meta_2_value_template = "a:5:{{s:5:\"width\";i:1024;s:6:\"height\";i:1024;s:4:\"file\";s:47:\"2019\/{month}\/{slug}.jpg\";s:5:\"sizes\";a:9:{{s:21:\"woocommerce_thumbnail\";a:5:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:262;s:6:\"height\";i:328;s:9:\"mime-type\";s:10:\"image\/jpeg\";s:9:\"uncropped\";b:1;}}s:29:\"woocommerce_gallery_thumbnail\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:160;s:6:\"height\";i:160;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:18:\"woocommerce_single\";a:4:{{s:4:\"file\";s:47:\"{slug}\";s:5:\"width\";i:555;s:6:\"height\";i:555;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:9:\"thumbnail\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:150;s:6:\"height\";i:150;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:6:\"medium\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:300;s:6:\"height\";i:300;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:12:\"medium_large\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:768;s:6:\"height\";i:768;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:12:\"shop_catalog\";a:5:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:262;s:6:\"height\";i:328;s:9:\"mime-type\";s:10:\"image\/jpeg\";s:9:\"uncropped\";b:1;}}s:11:\"shop_single\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:555;s:6:\"height\";i:555;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:14:\"shop_thumbnail\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:160;s:6:\"height\";i:160;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:10:\"image_meta\";a:12:{{s:8:\"aperture\";s:1:\"0\";s:6:\"credit\";s:0:\"\";s:6:\"camera\";s:0:\"\";s:7:\"caption\";s:0:\"\";s:17:\"created_timestamp\";s:1:\"0\";s:9:\"copyright\";s:0:\"\";s:12:\"focal_length\";s:1:\"0\";s:3:\"iso\";s:1:\"0\";s:13:\"shutter_speed\";s:1:\"0\";s:5:\"title\";s:0:\"\";s:11:\"orientation\";s:1:\"0\";s:8:\"keywords\";a:0:{{}}}}}}"
img_meta_support_image_template = 'a:5:{s:5:"width";i:1414;s:6:"height";i:1414;s:4:"file";s:52:"2019/10/IMG_Wild_Horse_20191010_172111_processed.jpg";s:5:"sizes";a:10:{s:9:"thumbnail";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-300x300.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-768x768.jpg";s:5:"width";i:768;s:6:"height";i:768;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:54:"IMG_Wild_Horse_20191010_172111_processed-1024x1024.jpg";s:5:"width";i:1024;s:6:"height";i:1024;s:9:"mime-type";s:10:"image/jpeg";}s:21:"woocommerce_thumbnail";a:5:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-324x324.jpg";s:5:"width";i:324;s:6:"height";i:324;s:9:"mime-type";s:10:"image/jpeg";s:9:"uncropped";b:0;}s:18:"woocommerce_single";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-416x416.jpg";s:5:"width";i:416;s:6:"height";i:416;s:9:"mime-type";s:10:"image/jpeg";}s:29:"woocommerce_gallery_thumbnail";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-100x100.jpg";s:5:"width";i:100;s:6:"height";i:100;s:9:"mime-type";s:10:"image/jpeg";}s:12:"shop_catalog";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-324x324.jpg";s:5:"width";i:324;s:6:"height";i:324;s:9:"mime-type";s:10:"image/jpeg";}s:11:"shop_single";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-416x416.jpg";s:5:"width";i:416;s:6:"height";i:416;s:9:"mime-type";s:10:"image/jpeg";}s:14:"shop_thumbnail";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-100x100.jpg";s:5:"width";i:100;s:6:"height";i:100;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}'

post_data = {
    "ID":"67",
    "post_author":"1",
    "post_date":"2019-01-23 13:48:07",
    "post_date_gmt":"2019-01-23 13:48:07",
    "post_content":"",
    "post_title":"team usa t-shirt 2",
    "post_excerpt":"",
    "post_status":"publish",
    "comment_status":"open",
    "ping_status":"closed",
    "post_password":"",
    "post_name":"team-usa-t-shirt-2",
    "to_ping":"",
    "pinged":"",
    "post_modified":"2019-01-23 13:48:07",
    "post_modified_gmt":"2019-01-23 13:48:07",
    "post_content_filtered":"",
    "post_parent":"0",
    "guid":"https:\/\/beautyty.org\/?post_type=product&#038;p=67",
    "menu_order":"0",
    "post_type":"product",
    "post_mime_type":"",
    "comment_count":"0"
}

meta_data_list = [
    {"meta_id":"218","post_id":"67","meta_key":"_wc_review_count","meta_value":"0"},
    {"meta_id":"219","post_id":"67","meta_key":"_wc_rating_count","meta_value":"a:0:{}"},
    {"meta_id":"220","post_id":"67","meta_key":"_wc_average_rating","meta_value":"0"},
    {"meta_id":"221","post_id":"67","meta_key":"_edit_last","meta_value":"1"},
    {"meta_id":"222","post_id":"67","meta_key":"_thumbnail_id","meta_value":""},
    {"meta_id":"224","post_id":"67","meta_key":"_sku","meta_value":""},
    {"meta_id":"225","post_id":"67","meta_key":"_regular_price","meta_value":"413"},
    {"meta_id":"226","post_id":"67","meta_key":"_sale_price","meta_value":""},
    {"meta_id":"227","post_id":"67","meta_key":"_sale_price_dates_from","meta_value":""},
    {"meta_id":"228","post_id":"67","meta_key":"_sale_price_dates_to","meta_value":""},
    {"meta_id":"229","post_id":"67","meta_key":"total_sales","meta_value":"0"},
    {"meta_id":"230","post_id":"67","meta_key":"_tax_status","meta_value":"taxable"},
    {"meta_id":"231","post_id":"67","meta_key":"_tax_class","meta_value":""},
    {"meta_id":"232","post_id":"67","meta_key":"_manage_stock","meta_value":"no"},
    {"meta_id":"233","post_id":"67","meta_key":"_backorders","meta_value":"no"},
    {"meta_id":"234","post_id":"67","meta_key":"_low_stock_amount","meta_value":""},
    {"meta_id":"235","post_id":"67","meta_key":"_sold_individually","meta_value":"no"},
    {"meta_id":"236","post_id":"67","meta_key":"_weight","meta_value":""},
    {"meta_id":"237","post_id":"67","meta_key":"_length","meta_value":""},
    {"meta_id":"238","post_id":"67","meta_key":"_width","meta_value":""},
    {"meta_id":"239","post_id":"67","meta_key":"_height","meta_value":""},
    {"meta_id":"240","post_id":"67","meta_key":"_upsell_ids","meta_value":"a:0:{}"},
    {"meta_id":"241","post_id":"67","meta_key":"_crosssell_ids","meta_value":"a:0:{}"},
    {"meta_id":"242","post_id":"67","meta_key":"_purchase_note","meta_value":""},
    {"meta_id":"243","post_id":"67","meta_key":"_default_attributes","meta_value":"a:0:{}"},
    {"meta_id":"244","post_id":"67","meta_key":"_virtual","meta_value":"no"},
    {"meta_id":"245","post_id":"67","meta_key":"_downloadable","meta_value":"no"},
    {"meta_id":"246","post_id":"67","meta_key":"_product_image_gallery","meta_value":""},
    {"meta_id":"247","post_id":"67","meta_key":"_download_limit","meta_value":"-1"},
    {"meta_id":"248","post_id":"67","meta_key":"_download_expiry","meta_value":"-1"},
    {"meta_id":"249","post_id":"67","meta_key":"_stock","meta_value": None},
    {"meta_id":"250","post_id":"67","meta_key":"_stock_status","meta_value":"instock"},
    {"meta_id":"251","post_id":"67","meta_key":"_product_version","meta_value":"3.5.4"},
    {"meta_id":"252","post_id":"67","meta_key":"_price","meta_value":"399"},
    {"meta_id":"253","post_id":"67","meta_key":"_wpas_done_all","meta_value":"1"},
    {"meta_id":"254","post_id":"67","meta_key":"_edit_lock","meta_value":"1548251148:1"}
]


7421a683050ed4470986d2d40d46bcdecb9a1239
<mask token>

guid_template = 'https:\\/\\/{domain}?post_type=product&#038;p={new_post_id}'
img_guid_template = (
    'https:\\/\\/{domain}wp-content\\/uploads\\/2019\\/{month}\\/{slug}.jpg')
img_post_data = {'post_author': '1', 'post_date': '2019-01-23 13:47:22',
    'post_date_gmt': '2019-01-23 13:47:22', 'post_content': '',
    'post_title': '162f473cb7bb6c80190a88e0b80e1cb1', 'post_excerpt': '',
    'post_status': 'inherit', 'comment_status': 'open', 'ping_status':
    'closed', 'post_password': '', 'post_name':
    '162f473cb7bb6c80190a88e0b80e1cb1', 'to_ping': '', 'pinged': '',
    'post_modified': '2019-01-23 13:47:22', 'post_modified_gmt':
    '2019-01-23 13:47:22', 'post_content_filtered': '', 'post_parent': '63',
    'guid': '', 'menu_order': '0', 'post_type': 'attachment',
    'post_mime_type': 'image\\/jpeg', 'comment_count': '0'}
img_meta_1 = {'post_id': '64', 'meta_key': '_wp_attached_file',
    'meta_value': ''}
img_meta_1_value_template = '2019\\/{month}\\/{slug}.jpg'
img_meta_2 = {'post_id': '64', 'meta_key': '_wp_attachment_metadata',
    'meta_value': ''}
img_meta_2_value_template = (
    'a:5:{{s:5:"width";i:1024;s:6:"height";i:1024;s:4:"file";s:47:"2019\\/{month}\\/{slug}.jpg";s:5:"sizes";a:9:{{s:21:"woocommerce_thumbnail";a:5:{{s:4:"file";s:47:"{slug}.jpg";s:5:"width";i:262;s:6:"height";i:328;s:9:"mime-type";s:10:"image\\/jpeg";s:9:"uncropped";b:1;}}s:29:"woocommerce_gallery_thumbnail";a:4:{{s:4:"file";s:47:"{slug}.jpg";s:5:"width";i:160;s:6:"height";i:160;s:9:"mime-type";s:10:"image\\/jpeg";}}s:18:"woocommerce_single";a:4:{{s:4:"file";s:47:"{slug}";s:5:"width";i:555;s:6:"height";i:555;s:9:"mime-type";s:10:"image\\/jpeg";}}s:9:"thumbnail";a:4:{{s:4:"file";s:47:"{slug}.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image\\/jpeg";}}s:6:"medium";a:4:{{s:4:"file";s:47:"{slug}.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image\\/jpeg";}}s:12:"medium_large";a:4:{{s:4:"file";s:47:"{slug}.jpg";s:5:"width";i:768;s:6:"height";i:768;s:9:"mime-type";s:10:"image\\/jpeg";}}s:12:"shop_catalog";a:5:{{s:4:"file";s:47:"{slug}.jpg";s:5:"width";i:262;s:6:"height";i:328;s:9:"mime-type";s:10:"image\\/jpeg";s:9:"uncropped";b:1;}}s:11:"shop_single";a:4:{{s:4:"file";s:47:"{slug}.jpg";s:5:"width";i:555;s:6:"height";i:555;s:9:"mime-type";s:10:"image\\/jpeg";}}s:14:"shop_thumbnail";a:4:{{s:4:"file";s:47:"{slug}.jpg";s:5:"width";i:160;s:6:"height";i:160;s:9:"mime-type";s:10:"image\\/jpeg";}}s:10:"image_meta";a:12:{{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{{}}}}}}'
    )
img_meta_support_image_template = (
    'a:5:{s:5:"width";i:1414;s:6:"height";i:1414;s:4:"file";s:52:"2019/10/IMG_Wild_Horse_20191010_172111_processed.jpg";s:5:"sizes";a:10:{s:9:"thumbnail";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-300x300.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-768x768.jpg";s:5:"width";i:768;s:6:"height";i:768;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:54:"IMG_Wild_Horse_20191010_172111_processed-1024x1024.jpg";s:5:"width";i:1024;s:6:"height";i:1024;s:9:"mime-type";s:10:"image/jpeg";}s:21:"woocommerce_thumbnail";a:5:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-324x324.jpg";s:5:"width";i:324;s:6:"height";i:324;s:9:"mime-type";s:10:"image/jpeg";s:9:"uncropped";b:0;}s:18:"woocommerce_single";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-416x416.jpg";s:5:"width";i:416;s:6:"height";i:416;s:9:"mime-type";s:10:"image/jpeg";}s:29:"woocommerce_gallery_thumbnail";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-100x100.jpg";s:5:"width";i:100;s:6:"height";i:100;s:9:"mime-type";s:10:"image/jpeg";}s:12:"shop_catalog";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-324x324.jpg";s:5:"width";i:324;s:6:"height";i:324;s:9:"mime-type";s:10:"image/jpeg";}s:11:"shop_single";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-416x416.jpg";s:5:"width";i:416;s:6:"height";i:416;s:9:"mime-type";s:10:"image/jpeg";}s:14:"shop_thumbnail";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-100x100.jpg";s:5:"width";i:100;s:6:"height";i:100;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}'
    )
post_data = {'ID': '67', 'post_author': '1', 'post_date':
    '2019-01-23 13:48:07', 'post_date_gmt': '2019-01-23 13:48:07',
    'post_content': '', 'post_title': 'team usa t-shirt 2', 'post_excerpt':
    '', 'post_status': 'publish', 'comment_status': 'open', 'ping_status':
    'closed', 'post_password': '', 'post_name': 'team-usa-t-shirt-2',
    'to_ping': '', 'pinged': '', 'post_modified': '2019-01-23 13:48:07',
    'post_modified_gmt': '2019-01-23 13:48:07', 'post_content_filtered': '',
    'post_parent': '0', 'guid':
    'https:\\/\\/beautyty.org\\/?post_type=product&#038;p=67', 'menu_order':
    '0', 'post_type': 'product', 'post_mime_type': '', 'comment_count': '0'}
meta_data_list = [{'meta_id': '218', 'post_id': '67', 'meta_key':
    '_wc_review_count', 'meta_value': '0'}, {'meta_id': '219', 'post_id':
    '67', 'meta_key': '_wc_rating_count', 'meta_value': 'a:0:{}'}, {
    'meta_id': '220', 'post_id': '67', 'meta_key': '_wc_average_rating',
    'meta_value': '0'}, {'meta_id': '221', 'post_id': '67', 'meta_key':
    '_edit_last', 'meta_value': '1'}, {'meta_id': '222', 'post_id': '67',
    'meta_key': '_thumbnail_id', 'meta_value': ''}, {'meta_id': '224',
    'post_id': '67', 'meta_key': '_sku', 'meta_value': ''}, {'meta_id':
    '225', 'post_id': '67', 'meta_key': '_regular_price', 'meta_value':
    '413'}, {'meta_id': '226', 'post_id': '67', 'meta_key': '_sale_price',
    'meta_value': ''}, {'meta_id': '227', 'post_id': '67', 'meta_key':
    '_sale_price_dates_from', 'meta_value': ''}, {'meta_id': '228',
    'post_id': '67', 'meta_key': '_sale_price_dates_to', 'meta_value': ''},
    {'meta_id': '229', 'post_id': '67', 'meta_key': 'total_sales',
    'meta_value': '0'}, {'meta_id': '230', 'post_id': '67', 'meta_key':
    '_tax_status', 'meta_value': 'taxable'}, {'meta_id': '231', 'post_id':
    '67', 'meta_key': '_tax_class', 'meta_value': ''}, {'meta_id': '232',
    'post_id': '67', 'meta_key': '_manage_stock', 'meta_value': 'no'}, {
    'meta_id': '233', 'post_id': '67', 'meta_key': '_backorders',
    'meta_value': 'no'}, {'meta_id': '234', 'post_id': '67', 'meta_key':
    '_low_stock_amount', 'meta_value': ''}, {'meta_id': '235', 'post_id':
    '67', 'meta_key': '_sold_individually', 'meta_value': 'no'}, {'meta_id':
    '236', 'post_id': '67', 'meta_key': '_weight', 'meta_value': ''}, {
    'meta_id': '237', 'post_id': '67', 'meta_key': '_length', 'meta_value':
    ''}, {'meta_id': '238', 'post_id': '67', 'meta_key': '_width',
    'meta_value': ''}, {'meta_id': '239', 'post_id': '67', 'meta_key':
    '_height', 'meta_value': ''}, {'meta_id': '240', 'post_id': '67',
    'meta_key': '_upsell_ids', 'meta_value': 'a:0:{}'}, {'meta_id': '241',
    'post_id': '67', 'meta_key': '_crosssell_ids', 'meta_value': 'a:0:{}'},
    {'meta_id': '242', 'post_id': '67', 'meta_key': '_purchase_note',
    'meta_value': ''}, {'meta_id': '243', 'post_id': '67', 'meta_key':
    '_default_attributes', 'meta_value': 'a:0:{}'}, {'meta_id': '244',
    'post_id': '67', 'meta_key': '_virtual', 'meta_value': 'no'}, {
    'meta_id': '245', 'post_id': '67', 'meta_key': '_downloadable',
    'meta_value': 'no'}, {'meta_id': '246', 'post_id': '67', 'meta_key':
    '_product_image_gallery', 'meta_value': ''}, {'meta_id': '247',
    'post_id': '67', 'meta_key': '_download_limit', 'meta_value': '-1'}, {
    'meta_id': '248', 'post_id': '67', 'meta_key': '_download_expiry',
    'meta_value': '-1'}, {'meta_id': '249', 'post_id': '67', 'meta_key':
    '_stock', 'meta_value': None}, {'meta_id': '250', 'post_id': '67',
    'meta_key': '_stock_status', 'meta_value': 'instock'}, {'meta_id':
    '251', 'post_id': '67', 'meta_key': '_product_version', 'meta_value':
    '3.5.4'}, {'meta_id': '252', 'post_id': '67', 'meta_key': '_price',
    'meta_value': '399'}, {'meta_id': '253', 'post_id': '67', 'meta_key':
    '_wpas_done_all', 'meta_value': '1'}, {'meta_id': '254', 'post_id':
    '67', 'meta_key': '_edit_lock', 'meta_value': '1548251148:1'}]

#image_uploads_dir = '/Users/ikravtsov/mamp_sites/wordpress/wp-content/uploads/2019/01/'

#domain = 'localhost:8888\/wordpress\/'
guid_template = 'https:\/\/{domain}?post_type=product&#038;p={new_post_id}'

img_guid_template = "https:\/\/{domain}wp-content\/uploads\/2019\/{month}\/{slug}.jpg"


img_post_data = {
    "post_author":"1",
    "post_date":"2019-01-23 13:47:22",
    "post_date_gmt":"2019-01-23 13:47:22",
    "post_content":"",
    "post_title":"162f473cb7bb6c80190a88e0b80e1cb1",
    "post_excerpt":"",
    "post_status":"inherit",
    "comment_status":"open",
    "ping_status":"closed",
    "post_password":"",
    "post_name":"162f473cb7bb6c80190a88e0b80e1cb1",
    "to_ping":"",
    "pinged":"",
    "post_modified":"2019-01-23 13:47:22",
    "post_modified_gmt":"2019-01-23 13:47:22",
    "post_content_filtered":"",
    "post_parent":"63",
    "guid":"",
    "menu_order":"0",
    "post_type":"attachment",
    "post_mime_type":"image\/jpeg",
    "comment_count":"0"
}

img_meta_1 = {
    "post_id":"64",
    "meta_key":"_wp_attached_file",
    "meta_value":""
}

img_meta_1_value_template = "2019\/{month}\/{slug}.jpg"

img_meta_2 = {
    "post_id":"64",
    "meta_key":"_wp_attachment_metadata",
    "meta_value":""
}

img_meta_2_value_template = "a:5:{{s:5:\"width\";i:1024;s:6:\"height\";i:1024;s:4:\"file\";s:47:\"2019\/{month}\/{slug}.jpg\";s:5:\"sizes\";a:9:{{s:21:\"woocommerce_thumbnail\";a:5:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:262;s:6:\"height\";i:328;s:9:\"mime-type\";s:10:\"image\/jpeg\";s:9:\"uncropped\";b:1;}}s:29:\"woocommerce_gallery_thumbnail\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:160;s:6:\"height\";i:160;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:18:\"woocommerce_single\";a:4:{{s:4:\"file\";s:47:\"{slug}\";s:5:\"width\";i:555;s:6:\"height\";i:555;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:9:\"thumbnail\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:150;s:6:\"height\";i:150;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:6:\"medium\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:300;s:6:\"height\";i:300;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:12:\"medium_large\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:768;s:6:\"height\";i:768;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:12:\"shop_catalog\";a:5:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:262;s:6:\"height\";i:328;s:9:\"mime-type\";s:10:\"image\/jpeg\";s:9:\"uncropped\";b:1;}}s:11:\"shop_single\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:555;s:6:\"height\";i:555;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:14:\"shop_thumbnail\";a:4:{{s:4:\"file\";s:47:\"{slug}.jpg\";s:5:\"width\";i:160;s:6:\"height\";i:160;s:9:\"mime-type\";s:10:\"image\/jpeg\";}}s:10:\"image_meta\";a:12:{{s:8:\"aperture\";s:1:\"0\";s:6:\"credit\";s:0:\"\";s:6:\"camera\";s:0:\"\";s:7:\"caption\";s:0:\"\";s:17:\"created_timestamp\";s:1:\"0\";s:9:\"copyright\";s:0:\"\";s:12:\"focal_length\";s:1:\"0\";s:3:\"iso\";s:1:\"0\";s:13:\"shutter_speed\";s:1:\"0\";s:5:\"title\";s:0:\"\";s:11:\"orientation\";s:1:\"0\";s:8:\"keywords\";a:0:{{}}}}}}"
img_meta_support_image_template = 'a:5:{s:5:"width";i:1414;s:6:"height";i:1414;s:4:"file";s:52:"2019/10/IMG_Wild_Horse_20191010_172111_processed.jpg";s:5:"sizes";a:10:{s:9:"thumbnail";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-300x300.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-768x768.jpg";s:5:"width";i:768;s:6:"height";i:768;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:54:"IMG_Wild_Horse_20191010_172111_processed-1024x1024.jpg";s:5:"width";i:1024;s:6:"height";i:1024;s:9:"mime-type";s:10:"image/jpeg";}s:21:"woocommerce_thumbnail";a:5:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-324x324.jpg";s:5:"width";i:324;s:6:"height";i:324;s:9:"mime-type";s:10:"image/jpeg";s:9:"uncropped";b:0;}s:18:"woocommerce_single";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-416x416.jpg";s:5:"width";i:416;s:6:"height";i:416;s:9:"mime-type";s:10:"image/jpeg";}s:29:"woocommerce_gallery_thumbnail";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-100x100.jpg";s:5:"width";i:100;s:6:"height";i:100;s:9:"mime-type";s:10:"image/jpeg";}s:12:"shop_catalog";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-324x324.jpg";s:5:"width";i:324;s:6:"height";i:324;s:9:"mime-type";s:10:"image/jpeg";}s:11:"shop_single";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-416x416.jpg";s:5:"width";i:416;s:6:"height";i:416;s:9:"mime-type";s:10:"image/jpeg";}s:14:"shop_thumbnail";a:4:{s:4:"file";s:52:"IMG_Wild_Horse_20191010_172111_processed-100x100.jpg";s:5:"width";i:100;s:6:"height";i:100;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}'

post_data = {
    "ID":"67",
    "post_author":"1",
    "post_date":"2019-01-23 13:48:07",
    "post_date_gmt":"2019-01-23 13:48:07",
    "post_content":"",
    "post_title":"team usa t-shirt 2",
    "post_excerpt":"",
    "post_status":"publish",
    "comment_status":"open",
    "ping_status":"closed",
    "post_password":"",
    "post_name":"team-usa-t-shirt-2",
    "to_ping":"",
    "pinged":"",
    "post_modified":"2019-01-23 13:48:07",
    "post_modified_gmt":"2019-01-23 13:48:07",
    "post_content_filtered":"",
    "post_parent":"0",
    "guid":"https:\/\/beautyty.org\/?post_type=product&#038;p=67",
    "menu_order":"0",
    "post_type":"product",
    "post_mime_type":"",
    "comment_count":"0"
}

meta_data_list = [
    {"meta_id":"218","post_id":"67","meta_key":"_wc_review_count","meta_value":"0"},
    {"meta_id":"219","post_id":"67","meta_key":"_wc_rating_count","meta_value":"a:0:{}"},
    {"meta_id":"220","post_id":"67","meta_key":"_wc_average_rating","meta_value":"0"},
    {"meta_id":"221","post_id":"67","meta_key":"_edit_last","meta_value":"1"},
    {"meta_id":"222","post_id":"67","meta_key":"_thumbnail_id","meta_value":""},
    {"meta_id":"224","post_id":"67","meta_key":"_sku","meta_value":""},
    {"meta_id":"225","post_id":"67","meta_key":"_regular_price","meta_value":"413"},
    {"meta_id":"226","post_id":"67","meta_key":"_sale_price","meta_value":""},
    {"meta_id":"227","post_id":"67","meta_key":"_sale_price_dates_from","meta_value":""},
    {"meta_id":"228","post_id":"67","meta_key":"_sale_price_dates_to","meta_value":""},
    {"meta_id":"229","post_id":"67","meta_key":"total_sales","meta_value":"0"},
    {"meta_id":"230","post_id":"67","meta_key":"_tax_status","meta_value":"taxable"},
    {"meta_id":"231","post_id":"67","meta_key":"_tax_class","meta_value":""},
    {"meta_id":"232","post_id":"67","meta_key":"_manage_stock","meta_value":"no"},
    {"meta_id":"233","post_id":"67","meta_key":"_backorders","meta_value":"no"},
    {"meta_id":"234","post_id":"67","meta_key":"_low_stock_amount","meta_value":""},
    {"meta_id":"235","post_id":"67","meta_key":"_sold_individually","meta_value":"no"},
    {"meta_id":"236","post_id":"67","meta_key":"_weight","meta_value":""},
    {"meta_id":"237","post_id":"67","meta_key":"_length","meta_value":""},
    {"meta_id":"238","post_id":"67","meta_key":"_width","meta_value":""},
    {"meta_id":"239","post_id":"67","meta_key":"_height","meta_value":""},
    {"meta_id":"240","post_id":"67","meta_key":"_upsell_ids","meta_value":"a:0:{}"},
    {"meta_id":"241","post_id":"67","meta_key":"_crosssell_ids","meta_value":"a:0:{}"},
    {"meta_id":"242","post_id":"67","meta_key":"_purchase_note","meta_value":""},
    {"meta_id":"243","post_id":"67","meta_key":"_default_attributes","meta_value":"a:0:{}"},
    {"meta_id":"244","post_id":"67","meta_key":"_virtual","meta_value":"no"},
    {"meta_id":"245","post_id":"67","meta_key":"_downloadable","meta_value":"no"},
    {"meta_id":"246","post_id":"67","meta_key":"_product_image_gallery","meta_value":""},
    {"meta_id":"247","post_id":"67","meta_key":"_download_limit","meta_value":"-1"},
    {"meta_id":"248","post_id":"67","meta_key":"_download_expiry","meta_value":"-1"},
    {"meta_id":"249","post_id":"67","meta_key":"_stock","meta_value": None},
    {"meta_id":"250","post_id":"67","meta_key":"_stock_status","meta_value":"instock"},
    {"meta_id":"251","post_id":"67","meta_key":"_product_version","meta_value":"3.5.4"},
    {"meta_id":"252","post_id":"67","meta_key":"_price","meta_value":"399"},
    {"meta_id":"253","post_id":"67","meta_key":"_wpas_done_all","meta_value":"1"},
    {"meta_id":"254","post_id":"67","meta_key":"_edit_lock","meta_value":"1548251148:1"}
]

