diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-01 21:27:29 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-01 21:27:29 +0200 |
commit | 494d04659417b1c302d1dd6d8c9a36aa4f9f0810 (patch) | |
tree | 3c8277f3b067e99806d8867867801952433e70bf /doc/ja/weechat_plugin_api.ja.asciidoc | |
parent | 4579d4fb9376ba3e30d90bd1caea6752c791dd0f (diff) | |
download | weechat-494d04659417b1c302d1dd6d8c9a36aa4f9f0810.zip |
core: remove "www" in weechat.org URLs
Diffstat (limited to 'doc/ja/weechat_plugin_api.ja.asciidoc')
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.asciidoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ja/weechat_plugin_api.ja.asciidoc b/doc/ja/weechat_plugin_api.ja.asciidoc index 1fbfd1e17..f5ed54cc2 100644 --- a/doc/ja/weechat_plugin_api.ja.asciidoc +++ b/doc/ja/weechat_plugin_api.ja.asciidoc @@ -7290,7 +7290,7 @@ struct t_hashtable *options = weechat_hashtable_new (8, if (options) { weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html"); - struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://www.weechat.org/", + struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://weechat.org/", options, 20000, &my_process_cb, NULL); @@ -7355,7 +7355,7 @@ def my_process_cb(data, command, return_code, out, err): return weechat.WEECHAT_RC_OK # 例 1: URL をダウンロード -hook1 = weechat.hook_process_hashtable("url:http://www.weechat.org/", +hook1 = weechat.hook_process_hashtable("url:http://weechat.org/", { "file_out": "/tmp/weechat.org.html" }, 20000, "my_process_cb", "") |