[ To : 강성연 ] 마이페이지 갱신 알고리즘 - Output Json 변환 데이터 확인
- Dominant language
- Jupyter Notebook
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
함수 실행 결과 : 평균 430 s 소요
출력 결과물 (Json)변환 시
====================================================================
search_data = OrderedDict()
search_data["ch_title"] = ch_title # 채널 제목
search_data["ch_view"] = ch_sub # 채널 구독자수
search_data["ch_link"] = ch_link # 채널 링크
search_data["ch_banner"] = ch_banner # 채널 배너 이미지 링크
search_data["ch_profile_img"] = ch_profile_img # 채널 프로필 이미지 링크
search_data["ch_sns"] = ch_sns_list # 채널 sns 링크 [link, icon_image_link]
search_data["ch_explanation"] = ch_explanation # 채널 설명
search_data["ch_total_view"]= ch_total_view # 채널 총 조회수
#최신동영상 3개 데이터(제목, 썸네일 이미지링크, 조회수, 시간, 영상시간, 영상 링크, 댓글 여론)
search_data["ch_last_movie"]= ch_last_movie
#인기동영상 2개 데이터(제목, 썸네일 이미지링크, 조회수, 시간, 영상시간, 영상 링크, 댓글 여론)
search_data["ch_famous_movie"]=ch_famous_movie
# 채널 전체 영상 제목 키워드 분석 Top 20
search_data["ch_title_keyword"] = ch_title_keyword
====================================================================
예시
{
"ch_title": "괴물쥐 유튜브",
"ch_view": 919000,
"ch_link": "https://youtube.com/channel/UCDBAVzfX3yZ1hah0FHnOoaA",
"ch_banner": "https://yt3.ggpht.com/GbIZzBeIBVe06Yx-7dM551QkT3MhqGTIAr64caqlG_9Dcn6duEK042yw9V5u8JPgZDULu5GZ_Jk=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj;",
"ch_profile_img": "https://yt3.ggpht.com/ytc/AKedOLS8Vuz4_56Y4hndqloU2hcZjxmhm93XQdeqgWyDdQ=s88-c-k-c0x00ffffff-no-rj",
"ch_sns": [
[
"https://www.twitch.tv/tmxk319",
"https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcSnHY9BFa_KkLXDsjDlaHMd3pEvYY8teyLD3nQltVVMxOE2vEIVszS6y1UyRO7UbsZaYGW7ZsaHVzHaYQPFgIkuQjY8TePxC-fu"
],
[
"https://www.instagram.com/ji_hwanzzang/?hl=ko",
"https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcR9GYFhGQHEgW6NLoifD15eQccIRJPD8-YdFk3LQylhmmQi8CY3c8IgfPJ8uoKeEkXNkAulR-rA45YZax6Du1POwSnnkrBoHn9sygT-6Q"
]
],
"ch_explanation": "카론소속 크리에이터 괴물쥐의 유튜브 입니다 \n비즈니스 문의 - charon@gysent.com",
"ch_total_view": 621093635,
"ch_last_movie": [
[
"왕자님의 굴욕",
"https://i.ytimg.com/vi/0k8XN_m4WfM/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDJHQGnT8egs9yZ5JNE1Z3fMuM_FA",
420000,
"12시간 전",
"17:44",
"https://www.youtube.com/watch?v=0k8XN_m4WfM",
79.28965657949448
],
[
"간만에 총 좀 쏴봤습니다 ^^(배그,오버워치 근황 맛보기)",
"https://i.ytimg.com/vi/AUfJeXIeBb4/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBDuz7wi4AgLc1aeRWtJi7hQkN6Bw",
450000,
"1일 전",
"19:06",
"https://www.youtube.com/watch?v=AUfJeXIeBb4",
78.44077306985855
],
[
"오랜만에 고향 친구 만났습니다 (+마스터 승급전)",
"https://i.ytimg.com/vi/ReLbZzPFIvI/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDSDHcTIdMAjtzj1qC0duJe_M12MQ",
710000,
"3일 전",
"19:24",
"https://www.youtube.com/watch?v=ReLbZzPFIvI",
79.87387377023697
]
],
"ch_famous_movie": [
[
"이딴게 챔프냐",
"https://i.ytimg.com/vi/xmjNI8apeFk/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAAkJYoY672fpeHMthK6f6HUyLUgQ",
3100000,
"1년 전",
"17:29",
"https://www.youtube.com/watch?v=xmjNI8apeFk",
77.2060232758522
],
[
"장지환(괴물쥐)의 삶",
"https://i.ytimg.com/vi/_VayNi2KqlI/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCZa2GYK-ZMVK5BHMfuGADo-N1vyA",
2710000,
"1년 전",
"11:33",
"https://www.youtube.com/watch?v=_VayNi2KqlI",
79.73924720287323
]
],
"ch_title_keyword": [
[
"쥐",
111
],
[
"괴물",
98
],
[
"사람",
63
],
[
"나",
49
],
[
"마스터",
40
],
[
"승",
33
],
[
"롤",
31
],
[
"팀",
26
],
[
"급전",
25
],
[
"스크림",
25
],
[
"하이라이트",
25
],
[
"듀오",
24
],
[
"원딜",
23
],
[
"남자",
23
],
[
"게임",
22
],
[
"이",
22
],
[
"다이아",
22
],
[
"메이플스토리",
21
],
[
"성",
20
],
[
"그",
17
]
]
}
WorkingTime: 430.38019347190857 sec
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the function that builds the OrderedDict search_data and reproduce the reported 430-second execution. Compare its JSON output with the supplied example and determine the expected refresh result before changing anything; done means the output structure and execution behavior are confirmed against that expectation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100