{
	"3": {
		"0": {
			"unit_index": 0,
			"line_task_name": "타오바오_데이터(item.taobao.com)"
		},
		"1": {
			"unit_index": 1,
			"combo_search_site": "https://s.taobao.com/search",
			"check_auto_paste": false
		},
		"2": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "input",
			"combo_filter_attr": "class",
			"combo_filter_op": "EQ",
			"combo_filter_item": "search-combobox-input"
		},
		"3": {
			"unit_index": 4,
			"plain_keywords": "some by mi",
			"combo_keyword_type": "첫항목만 선택",
			"general_unit_widget_height": 82,
			"general_plain_keywords_height": 52
		},
		"4": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "button",
			"combo_filter_attr": "type",
			"combo_filter_op": "EQ",
			"combo_filter_item": "submit"
		},
		"5": {
			"unit_index": 5,
			"combo_key_click_key": "Mouse.CLICK",
			"line_offset_xpos": "0",
			"line_offset_ypos": "0",
			"line_key_wait": "5",
			"line_key_repeat": "1"
		},
		"6": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 낮은 가격에서 높은 가격순으로",
			"check_endof_task": false
		},
		"7": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "span",
			"combo_filter_attr": "title",
			"combo_filter_op": "EQ",
			"combo_filter_item": "价格从低到高"
		},
		"8": {
			"unit_index": 5,
			"combo_key_click_key": "Mouse.CLICK",
			"line_offset_xpos": "0",
			"line_offset_ypos": "0",
			"line_key_wait": "2",
			"line_key_repeat": "1"
		},
		"9": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 상품목록 페이지당 전체 44개 추출",
			"check_endof_task": false
		},
		"10": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "div",
			"combo_filter_attr": "class",
			"combo_filter_op": "LIKE",
			"combo_filter_item": "item J_MouserOnverReq"
		},
		"11": {
			"unit_index": 11,
			"plain_scripts": "# 위의 u11.el 리스트중 item.taobao.com이 아닌 엘러먼트들을 재거\nfor ii, el in reversed(list(enumerate(U10.EL))):\n\tif el.get_attribute('outerHTML').find('item.taobao.com') < 0:\n\t\tU10.EL.remove(el)\nprint('상품목록건수', len(U10.EL))",
			"general_unit_widget_height": 122,
			"general_plain_scripts_height": 92
		},
		"12": {
			"unit_index": 10,
			"line_left_side": "len(u10.el)",
			"combo_operator": "==",
			"line_rigt_side": "0",
			"line_jump_number": "9999",
			"line_jump_total": "9999"
		},
		"13": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 타오바오, 현재시간, 가격 항목 추출",
			"check_endof_task": false
		},
		"14": {
			"unit_index": 3,
			"line_filter_type": 1,
			"combo_filter_tag": "div",
			"combo_filter_attr": "class",
			"combo_filter_op": "EQ",
			"combo_filter_item": "price g_price g_price-highlight"
		},
		"15": {
			"unit_index": 6,
			"line_txtextr_pool": "'{@KEYWORD}','{@CUR_TIME}=현재시간',text=가격",
			"general_unit_widget_height": 114,
			"general_plain_txtextr_house_height": 52,
			"general_hor_plain_txtextr_house_height": 52
		},
		"16": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 판매상 추출",
			"check_endof_task": false
		},
		"17": {
			"unit_index": 3,
			"line_filter_type": 1,
			"combo_filter_tag": "div",
			"combo_filter_attr": "class",
			"combo_filter_op": "EQ",
			"combo_filter_item": "shop"
		},
		"18": {
			"unit_index": 6,
			"line_txtextr_pool": "text=판매상",
			"general_unit_widget_height": 114,
			"general_plain_txtextr_house_height": 52,
			"general_hor_plain_txtextr_house_height": 52
		},
		"19": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 상품코드, 상품명 추출",
			"check_endof_task": false
		},
		"20": {
			"unit_index": 3,
			"line_filter_type": 1,
			"combo_filter_tag": "a",
			"combo_filter_attr": "id",
			"combo_filter_op": "LIKE",
			"combo_filter_item": "J_Itemlist_TLink"
		},
		"21": {
			"unit_index": 6,
			"line_txtextr_pool": "data-nid=상품 코드,text=상품명",
			"general_unit_widget_height": 134,
			"general_plain_txtextr_house_height": 72,
			"general_hor_plain_txtextr_house_height": 72
		},
		"22": {
			"unit_index": 11,
			"plain_scripts": "# 컬럼명 지정\nU15.DF.columns=['타오바오', '현재시간', '가격']\nU18.DF.columns=['판매상']\nU21.DF.columns=['상품코드', '상품명']\n\n# 데이터프레임 결합\nu22.DF1=U15.DF.join(U18.DF, how='inner') #판매상\nu22.DF2=u22.DF1.join(U21.DF, how='inner') #상품코드,상품명\nprint('컬럼리스트', u22.DF2.columns)\n\n# 판매코드를 인덱스로 변환\nu22.DF2.set_index(keys=['상품코드'], inplace=True)\nprint('컬럼리스트', u22.DF2.columns)\n\n# 상품코드 번호 초기화\nu21.elno = 1",
			"general_unit_widget_height": 242,
			"general_plain_scripts_height": 212
		},
		"23": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 상품별 세부 항목 추출 시작",
			"check_endof_task": false
		},
		"24": {
			"unit_index": 5,
			"combo_key_click_key": "Mouse.CLICK",
			"line_offset_xpos": "0",
			"line_offset_ypos": "0",
			"line_key_wait": "2",
			"line_key_repeat": "1"
		},
		"25": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "img",
			"combo_filter_attr": "data-src",
			"combo_filter_op": "LIKE",
			"combo_filter_item": "alicdn"
		},
		"26": {
			"unit_index": 6,
			"line_txtextr_pool": "data-src",
			"general_unit_widget_height": 154,
			"general_plain_txtextr_house_height": 92,
			"general_hor_plain_txtextr_house_height": 92
		},
		"27": {
			"unit_index": 11,
			"plain_scripts": "U26.THUMB1=U26.DF.iat[0,0].replace('_50x50.jpg','')\nU26.THUMB2=U26.DF.iat[1,0].replace('_50x50.jpg','')\nU26.THUMB3=U26.DF.iat[2,0].replace('_50x50.jpg','')\nU26.THUMB4=U26.DF.iat[3,0].replace('_50x50.jpg','')\nU26.THUMB5=U26.DF.iat[4,0].replace('_50x50.jpg','')",
			"general_unit_widget_height": 122,
			"general_plain_scripts_height": 92
		},
		"28": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 판매량 추출",
			"check_endof_task": false
		},
		"29": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "strong",
			"combo_filter_attr": "id",
			"combo_filter_op": "EQ",
			"combo_filter_item": "J_SellCounter"
		},
		"30": {
			"unit_index": 6,
			"line_txtextr_pool": "text",
			"general_unit_widget_height": 114,
			"general_plain_txtextr_house_height": 52,
			"general_hor_plain_txtextr_house_height": 52
		},
		"31": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 제품 상세 데이터(품명,브랜드,원산지)",
			"check_endof_task": false
		},
		"32": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "ul",
			"combo_filter_attr": "class",
			"combo_filter_op": "EQ",
			"combo_filter_item": "attributes-list"
		},
		"33": {
			"unit_index": 3,
			"line_filter_type": 1,
			"combo_filter_tag": "li",
			"combo_filter_attr": "text",
			"combo_filter_op": "LIKE",
			"combo_filter_item": ""
		},
		"34": {
			"unit_index": 11,
			"plain_scripts": "U33.DETAIL_LIST=[U33.EL[0].text, U33.EL[1].text, U33.EL[3].text]\nprint('세부사항', U33.DETAIL_LIST)",
			"general_unit_widget_height": 82,
			"general_plain_scripts_height": 52
		},
		"35": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 본문 이미지 추출",
			"check_endof_task": false
		},
		"36": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "div",
			"combo_filter_attr": "id",
			"combo_filter_op": "EQ",
			"combo_filter_item": "J_DivItemDesc"
		},
		"37": {
			"unit_index": 6,
			"line_txtextr_pool": "src",
			"general_unit_widget_height": 114,
			"general_plain_txtextr_house_height": 52,
			"general_hor_plain_txtextr_house_height": 52
		},
		"38": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 평가 탭으로 전환",
			"check_endof_task": false
		},
		"39": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "a",
			"combo_filter_attr": "shortcut-key",
			"combo_filter_op": "EQ",
			"combo_filter_item": "g c"
		},
		"40": {
			"unit_index": 5,
			"combo_key_click_key": "Mouse.CLICK",
			"line_offset_xpos": "0",
			"line_offset_ypos": "0",
			"line_key_wait": "2",
			"line_key_repeat": "1"
		},
		"41": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 댓글 최신순으로 정렬",
			"check_endof_task": false
		},
		"42": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "i",
			"combo_filter_attr": "class",
			"combo_filter_op": "EQ",
			"combo_filter_item": "kg-rate-icf"
		},
		"43": {
			"unit_index": 5,
			"combo_key_click_key": "Mouse.CLICK",
			"line_offset_xpos": "0",
			"line_offset_ypos": "0",
			"line_key_wait": "0",
			"line_key_repeat": "1"
		},
		"44": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "span",
			"combo_filter_attr": "class",
			"combo_filter_op": "EQ",
			"combo_filter_item": "kg-rate-ico-bg ico-sort-by-time"
		},
		"45": {
			"unit_index": 5,
			"combo_key_click_key": "Mouse.CLICK",
			"line_offset_xpos": "0",
			"line_offset_ypos": "0",
			"line_key_wait": "0",
			"line_key_repeat": "1"
		},
		"46": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "div",
			"combo_filter_attr": "class",
			"combo_filter_op": "EQ",
			"combo_filter_item": "J_KgRate_MainReviews"
		},
		"47": {
			"unit_index": 3,
			"line_filter_type": 1,
			"combo_filter_tag": "div",
			"combo_filter_attr": "class",
			"combo_filter_op": "EQ",
			"combo_filter_item": "from-whom"
		},
		"48": {
			"unit_index": 6,
			"line_txtextr_pool": "text",
			"general_unit_widget_height": 114,
			"general_plain_txtextr_house_height": 52,
			"general_hor_plain_txtextr_house_height": 52
		},
		"49": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 리뷰 내용 및 시간",
			"check_endof_task": false
		},
		"50": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "div",
			"combo_filter_attr": "class",
			"combo_filter_op": "EQ",
			"combo_filter_item": "review-details"
		},
		"51": {
			"unit_index": 6,
			"line_txtextr_pool": "text",
			"general_unit_widget_height": 114,
			"general_plain_txtextr_house_height": 52,
			"general_hor_plain_txtextr_house_height": 52
		},
		"52": {
			"unit_index": 5,
			"combo_key_click_key": "Keys.Backward",
			"line_offset_xpos": "0",
			"line_offset_ypos": "0",
			"line_key_wait": "0",
			"line_key_repeat": "1"
		},
		"53": {
			"unit_index": 11,
			"plain_scripts": "# 썸네일 이미지 컬럼 생성\nif 'thumb1' not in U22.DF2.columns: U22.DF2['thumb1']= [''] * len(U22.DF2)\nif 'thumb2' not in U22.DF2.columns: U22.DF2['thumb2']= [''] * len(U22.DF2)\nif 'thumb3' not in U22.DF2.columns: U22.DF2['thumb3']= [''] * len(U22.DF2)\nif 'thumb4' not in U22.DF2.columns: U22.DF2['thumb4']= [''] * len(U22.DF2)\nif 'thumb5' not in U22.DF2.columns: U22.DF2['thumb5']= [''] * len(U22.DF2)\nprint('헤드', U22.DF2.head())\n\n# 현재의 엘러먼트 번호에 맞는 상품코드 가져오기\nU22.CODE=U21.DF.iat[U21.ELNO-1,0]\nprint('현재번호', U21.ELNO-1, 'code', U22.CODE)\n\n# 썸네일 이미지 컬럼에 경로 저장\nU22.DF2.at[U22.CODE,'thumb1']=U26.THUMB1\nU22.DF2.at[U22.CODE,'thumb2']=U26.THUMB2\nU22.DF2.at[U22.CODE,'thumb3']=U26.THUMB3\nU22.DF2.at[U22.CODE,'thumb4']=U26.THUMB4\nU22.DF2.at[U22.CODE,'thumb5']=U26.THUMB5\nprint('헤드', U22.DF2.head())\nprint('컬럼리스트', U22.DF2.columns)\nprint('데이터', U22.DF2.loc[[U22.CODE]])\n\n# 판매량 컬럼 생성 후 저장\nif '판매량' not in U22.DF2.columns: U22.DF2['판매량']= [''] * len(U22.DF2)\nU22.DF2.at[U22.CODE,'판매량']=U30.DF.iat[0,0]\nprint('데이터', U22.DF2.loc[[U22.CODE]])\n\n#세부사항 컬럼 생성 후 저장\nif '세부사항1' not in U22.DF2.columns: U22.DF2['세부사항1']= [''] * len(U22.DF2)\nif '세부사항2' not in U22.DF2.columns: U22.DF2['세부사항2']= [''] * len(U22.DF2)\nif '세부사항3' not in U22.DF2.columns: U22.DF2['세부사항3']= [''] * len(U22.DF2)\nU22.DF2.at[U22.CODE,'세부사항1']=U33.DETAIL_LIST[0]\nU22.DF2.at[U22.CODE,'세부사항2']=U33.DETAIL_LIST[1]\nU22.DF2.at[U22.CODE,'세부사항3']=U33.DETAIL_LIST[2]\nprint('데이터', U22.DF2.loc[[U22.CODE]])\n\n# 본문 이미지 커럼 생성 후 저장\nif '본문이미지1' not in U22.DF2.columns: U22.DF2['본문이미지1']= [''] * len(U22.DF2)\nU22.DF2.at[U22.CODE,'본문이미지1']=U37.DF.iat[0,0]\nprint('데이터', U22.DF2.loc[[U22.CODE]])\n\n# 상품 코드 번호 +1 증가\nU21.ELNO += 1",
			"general_unit_widget_height": 262,
			"general_plain_scripts_height": 232
		},
		"54": {
			"unit_index": 10,
			"line_left_side": "len(u24.kl)",
			"combo_operator": ">",
			"line_rigt_side": "0",
			"line_jump_number": "24",
			"line_jump_total": "9909"
		},
		"55": {
			"unit_index": 11,
			"plain_scripts": "# 추출된 타오바오 상품 목록을 csv 파일로 저장\nU22.FILE_NAME='@OPATH/taobao_' + datetime.now().strftime('%y%m%d') + '.csv'\nheader= False if os.path.isfile(U22.FILE_NAME) else True # 헤더를 출력할 것인지 여부\nU22.DF2.to_csv(U22.FILE_NAME, mode='a', header=header, index=True, encoding='utf-8')",
			"general_unit_widget_height": 122,
			"general_plain_scripts_height": 92
		},
		"56": {
			"unit_index": 9,
			"line_time_break": "1",
			"line_time_script": "# 다음 페이지로 이동",
			"check_endof_task": false
		},
		"57": {
			"unit_index": 2,
			"line_filter_type": 0,
			"combo_filter_tag": "div",
			"combo_filter_attr": "id",
			"combo_filter_op": "EQ",
			"combo_filter_item": "mainsrp-pager"
		},
		"58": {
			"unit_index": 3,
			"line_filter_type": 1,
			"combo_filter_tag": "a",
			"combo_filter_attr": "text",
			"combo_filter_op": "GT",
			"combo_filter_item": "@ELNO"
		},
		"59": {
			"unit_index": 6,
			"line_txtextr_pool": "text",
			"general_unit_widget_height": 114,
			"general_plain_txtextr_house_height": 52,
			"general_hor_plain_txtextr_house_height": 52
		},
		"60": {
			"unit_index": 5,
			"combo_key_click_key": "Mouse.CLICK",
			"line_offset_xpos": "0",
			"line_offset_ypos": "0",
			"line_key_wait": "5",
			"line_key_repeat": "1"
		},
		"61": {
			"unit_index": 10,
			"line_left_side": "int(u60.df.iat[0,0])",
			"combo_operator": "==",
			"line_rigt_side": "u59.elno+1",
			"line_jump_number": "9",
			"line_jump_total": "5"
		},
		"62": {
			"unit_index": 9,
			"line_time_break": "10",
			"line_time_script": "# 타오바오 데이터 수집 끝",
			"check_endof_task": true
		}
	}
}