Create override maps for broken locator links from section
まだ誰も着手していません。
評価
調査の方向性
まず、スクレイピングした教科書セクションのデータを処理するパーサーを見つけ、リンクがどのように表現されているかを確認してください。提案されているoverride mapをUTDRooms' src/lib/buildingInfo.tsと比較し、既知のconcept3d対応リンクがある壊れたlocatorリンクをどのように収集して置き換えるべきかを判断してください。生成されたデータを通じてそれらのリンクが解決されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Go
- スター
- 12
- フォーク
- 54
- 平均マージ
- 2分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
UTDNebula/api-tools のほかの issue
-
Improve unit tests in sectionParser_test.go対応中かも @Sidd-Pelluru が 17 日前に担当しました。 オープンL1 recommended for recruits
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
Improve unit tests in discountsParser_test.go対応中かも @LikithInam が 3 日前に担当しました。 オープンL1 recommended for recruits
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
L1 recommended for recruits
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
L1 Type: Bug Report
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
Improve output in events.go対応中かも @DennisOrtin が 7 日前に担当しました。 オープンL1 recommended for recruits
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
UTDNebula/api-tools の issue をすべて見る
似ている issue
-
raised-by:reviewer
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
medici-finance/assay#2681 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
homarr-labs/dashboard-icons#2939 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
AvengeMedia/DankMaterialShell#3761 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
docs: clarify replacement for outdated Terms of Service URL in readme.md対応中かも @mohitjoshi-hey が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 66/100