diff options
author | haturatu <taro@eyes4you.org> | 2024-10-08 21:34:28 +0900 |
---|---|---|
committer | haturatu <taro@eyes4you.org> | 2024-10-08 21:34:28 +0900 |
commit | abc1fb420f18e252fd1c08b97ad64e026a8b210e (patch) | |
tree | 084ccd05894249d11122feabab9571c6cb1108fa /README.md | |
parent | e6d71fbf65df8a54e92649544c9acc71c58e182e (diff) |
wip readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -6,6 +6,19 @@ URLからページタイトルを取得、出力します。 ``` bundle install --path ~/.gem ``` +## 設定 +設定は`geturl.rb`の以下で行います。 +``` +FILE_PATH = '/Your/URLs/list/file' +RESULT_FILE = 'Result' +OTHER_ERROR_FILE = 'Other' +CONCURRENCY = 10 +``` +`FILE_PATH`以外は変更する必要はあまりありませんが、`RESULT_FILE`を変更する場合は`md.rb`での設定と対になっています。 +``` +convert_to_markdown('Result', 'Result.md') +``` +そのため、`RESULT_FILE`を変更した場合ここも変えないといけません。 ## geturl.rb 入力ファイルは以下のような形式とします。 |