Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] SPA에서 metadata 가져오기. #589

Merged
merged 7 commits into from
Nov 27, 2024
Merged

[FEAT] SPA에서 metadata 가져오기. #589

merged 7 commits into from
Nov 27, 2024

Conversation

dmdgpdi
Copy link
Collaborator

@dmdgpdi dmdgpdi commented Nov 25, 2024

What is this PR? 🔍

  • 기능 :
    유튜브에서 meta image 및 title을 가져올 수 있습니다.
  • issue : #

Changes 📝

기존에는 dom에 접근해서 html을 parsing해서 meta tag의 정보를 가져왔습니다.
하지만 이 방식으로는 유튜브에서 내부적으로 이동한 뒤에 다른 영상을 볼 때 다른 메타 데이터를 가져오지 않았습니다. (이유는 유튜브에서 meta tag가 변경되지 않기 때문입니다.)
따라서 worker에서 탭이 변경될 때마다, url이 바뀔 때마다 tab의 정보를 가져오는 것으로 로직을 변경했습니다.

Precaution

@dmdgpdi dmdgpdi added feat 기능 frontend 프론트 관련 labels Nov 25, 2024
@dmdgpdi dmdgpdi self-assigned this Nov 25, 2024
Copy link
Collaborator

@kimminkyeu kimminkyeu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

훌륭합니다! GOOD

@dmdgpdi dmdgpdi merged commit 518149b into frontend Nov 27, 2024
1 check passed
@dmdgpdi dmdgpdi deleted the front/feat/#587 branch November 27, 2024 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 기능 frontend 프론트 관련
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants