Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Create override maps for broken locator links from section

Aperta
#191 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli

Direzione di ricerca

Inizia individuando il parser che gestisce i dati estratti delle sezioni del libro di testo e verifica come vengono rappresentati i link. Confronta la mappa di override proposta con UTDRooms' src/lib/buildingInfo.ts, quindi determina come raccogliere e sostituire i link locator non funzionanti con equivalenti concept3d noti; il lavoro è completato quando tali link vengono risolti tramite i dati generati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Type: Bug Report

Overview

The scraped section data from coursebook have https://locator.utdallas.edu hyperlink. When you click on it, it auto-resolves to an equivalent https://map.concept3d.com. However, some links are broken, which means they do not resolve although there is an existing concept3d link.

Trends' issue: https://github.com/UTDNebula/utd-trends/issues/557

My proposed solution: Initially add a logic in the parser to collect all the broken links, then create an overrideMap to map the broken link to the concept3d link if they exist. Then modify the parser so in the later parse, it will replace the broken link directly with concept3d link in the map.

The process of creating the overriding map is manual and it will be annoying. If you have an idea, feel free to share it in the comment. UTDRooms has a similar overrideMap https://github.com/UTDNebula/utd-rooms/blob/develop/src/lib/buildingInfo.ts

Note

@AbhiramTadepalli has an idea of creating a github actions to check the validity of the links and I think it can be potentially useful. If the pipeline gets triggered daily or weekly, we will be able to see if there's any new broken links or some links have been fixed so we can update the override map accordingly.

Lingua principale
Go
Stelle
12
Fork
54
Merge medio
2m
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di UTDNebula/api-tools

Tutte le issue di UTDNebula/api-tools

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.