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

Support scraping opengraph/twitter meta tags #269

Merged
merged 2 commits into from
Jan 8, 2023

Conversation

azeemba
Copy link
Contributor

@azeemba azeemba commented Jan 8, 2023

<meta> tags with specific og: and twitter: properties that map to URLs are now fetched.

Specific properties that are supported are:

  • og:image
  • og:audio
  • og:video
  • og:image:url
  • og:image:secure_url
  • twitter:image

Fixes #268

`<meta>` tags with specific `og:` and `twitter:` properties that map to
URLs are now fetched.

Specific properties that are supported are:

- `og:image`
- `og:audio`
- `og:video`
- `og:image:url`
- `og:image:secure_url`
- `twitter:image`
@codecov
Copy link

codecov bot commented Jan 8, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@a5b5bbc). Click here to learn what that means.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #269   +/-   ##
=======================================
  Coverage        ?   87.02%           
=======================================
  Files           ?       26           
  Lines           ?      709           
  Branches        ?        0           
=======================================
  Hits            ?      617           
  Misses          ?       75           
  Partials        ?       17           
Impacted Files Coverage Δ
link_finder.go 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@raviqqe raviqqe merged commit 18802a9 into raviqqe:main Jan 8, 2023
@azeemba azeemba deleted the opengraph branch January 8, 2023 03:21
@raviqqe
Copy link
Owner

raviqqe commented Jan 8, 2023

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Support metadata URLs used for open graph/twitter cards
2 participants