The emitter opengraph produces rigid, fragile structures
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with the opengraph module and inspect how the HTML meta element is converted into the current array structure. Determine the intended behavior for semantic keys and repeated og: tags, then verify that the resulting output matches the agreed structure.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Consider this HTML construct:
<meta property="og:title" content="‘A Path That Is Not Sustainable’: College Hits Breaking Point, Sends Home Majority of Student Body" />
This is turned into the following by the opengraph module:
[
"og:title",
"‘A Path That Is Not Sustainable’: College Hits Breaking Point, Sends Home Majority of Student Body"
],
Does anyone know why this couldn't instead be:
"og:title":"‘A Path That Is Not Sustainable’: College Hits Breaking Point, Sends Home Majority of Student Body",
A case for having the output be this way:
- You can then do semantic selectors instead of positional selectors (
["og:title"]vs[1]) - If there are multiple occurrences with an
og:tagthen I think this is a bug, certainly for the purposes ofextruct. Or maybe I'm wrong on this.
Thoughts most welcome.
- Lingua principale
- Python
- Stelle
- 986
- Fork
- 127
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di scrapinghub/extruct
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
scrapinghub/extruct#278 · 1 reazione ·
-
Migrate to pytestForse già presa @Rotzbua l’ha presa 135 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
scrapinghub/extruct#252 ·
-
Tests fail with windowsForse già presa @Rotzbua l’ha presa 136 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
scrapinghub/extruct#251 ·
-
Install on modern pip and setuptools is failingForse già presa @Rotzbua l’ha presa 163 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
scrapinghub/extruct#241 · 5 commenti ·
-
Fix the Build Status badgeForse già presa @Rotzbua l’ha presa 163 giorni fa. Apertabug docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 56/100
scrapinghub/extruct#236 ·
Tutte le issue di scrapinghub/extruct
Issue simili
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount dueForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 79/100
developmentseed/titiler-covjson#164 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
awslabs/visual-asset-management-system#2164 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
MakazhanAlpamys/Soup#3589 ·
I maintainer di solito rispondono entro 1 giorno
-
channels status reports the wrong Enabled value for Feishu instances and default-enabled WebSocketAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno