Skip to content

Commit

Permalink
불필요한 주석 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
hyejungg committed Jan 5, 2025
1 parent e8b9ef9 commit 6567156
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/lib/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,12 @@ const parsingForGeneral = async (url) => {
}
}
});
// TODO itemPrice를 못가져올 경우, div에서 꺼내오는 방법 연구해보기
// if (!itemPrice) {
// console.log('itemPrice가 비었음!');
// $('body').map((i, elem) => {
// console.log($(elem).find(`div`).text());
// // return $(elem)
// // .find(`.${/.*[pP]rice.*/}`)
// // .text();
// });
// }
}
});
if (!itemName) {
itemName = $('title').text();
}
itemPrice = itemPrice ? getPriceWithoutString(itemPrice) : undefined;
// console.log(`im general`);
return { item_img: itemImg, item_name: itemName, item_price: itemPrice };
};

Expand Down

0 comments on commit 6567156

Please sign in to comment.