Some websites put meta tags outside the head.

オープン
#192 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

@AdrianAtZyte がすでに取り組んでいます。

2026年9月27日 から。

  • #268 @AdrianAtZyte による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
web-dev

調査の方向性

Start in extruct/opengraph.py at the linked extractor code and compare its current head-only behavior with the YouTube channel example. Verify that OpenGraph meta properties placed outside the head are extracted, then run the project's available tests or an equivalent extraction check against that page.

索引モデルが issue の本文から書いたものです。

説明

On some pages meta tags are included outside of the head tag. For example on the YouTube channel page: https://www.youtube.com/c/Freecodecamp

As the opengraph extractor only looks in the head tag, all the og:* meta properties are missed.
In my fork, I changed the extractor to look in the body rather.

If I get permission, I can do a PR?

Here is a link to where I made the change: https://github.com/scrapinghub/extruct/blob/c2cffbed26ae4ab8dd35d1860bfda00c3bac5783/extruct/opengraph.py#L28

主要言語
Python
スター
986
フォーク
127
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

scrapinghub/extruct のほかの issue

scrapinghub/extruct の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。