-
Notifications
You must be signed in to change notification settings - Fork 21
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
list links from specified page #107
Conversation
私の認識では以下の部分 Lines 82 to 97 in 337de17
また、 |
下部のCIで落ちてしまっているので |
CIがまたもや |
一通り修正が完了したら今回の処理部分の try の中の処理を 他のインストール処理と同様 |
Github Action(CI)のlintでひっかかっちゃいましたね。 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #107 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 20 20
Lines 1429 1510 +81
Branches 147 156 +9
=========================================
+ Hits 1429 1510 +81 ☔ View full report in Codecov by Sentry. |
また少しフォーマットでCIが落ちてしまってますね。 |
…hanges. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # Committer: JQinglong <[email protected]> # # On branch feature/page-install # Your branch is ahead of 'origin/feature/page-install' by 1 commit. # (use "git push" to publish your local commits) # # Changes to be committed: # modified: libs/action_helper/installer.ts # modified: libs/actions.ts # modified: tests/libs/actions.install.test.ts # new file: tests/test_data/test-page-empty.html # new file: tests/test_data/test-page-invalid.html #
@JQinglong |
@ryo-ma |
@JQinglong ありがとうございます。エラー処理周りは少し気になるところもありますが、とりあえずマージしてしまいましょうか。使っている中で問題があればまたプルリクで対応してきましょう。 |
マージありがとうございました。ぜひ、自分の開発でも使って、フィードバックもしていきたいと思っています。 |
InstallActionに対して、-P でページを指定して、-eでリンクURLの絞り込み条件を指定するようにしました。
現時点では抽出したurlをconsoleに出力しています。
このようにして複数取得したurlについて実際のInstallAction(その他のオプション指定に従ってコンテンツの取得)を行いたいですが、そのためには、InstallActionの実体の処理を切り出して、それを呼び出すようにする必要があるのではないかと思いましたが、既存ソースへの改変が大きいため相談させていただきました。