taskWeeChat - Tasks: task #10247, Add hook_url in plugin/script API...


task #10247: Add hook_url in plugin/script API to retrieve HTML/file with URL

Submitter:  Sebastien Helleu <flashcode>
Submitted:  Mon 08 Mar 2010 09:34:38 AM UTC
Category:  plugins Should Start On:  Wed 31 Mar 2010 10:00:00 PM UTC
Should be Finished on:  Sun 07 Mar 2010 11:00:00 PM UTC Priority:  * 3 - Low
Status:  Done Privacy:  Public
Assigned to:  flashcode Percent Complete:  100%
Originator Name:  Open/Closed:  Closed
Planned Release:  0.3.7 IRC nick:  FlashCode
* Mandatory Fields

Add a New Comment Rich Markup

Mon 16 Jan 2012 06:55:47 PM UTC, comment #1: 

Support of URL added to hook_process/hook_process_hashtable.

Example in Python:

weechat.hook_process_hashtable('url:http://weechat.org/download/', { 'file_out': '/tmp/url.txt' }, 10000, 'my_process_cb', '')

Sebastien Helleu <flashcode>
Group administrator
Mon 08 Mar 2010 09:34:38 AM UTC, original submission:  

Add hook_url in plugin and script API to retrieve HTML content of URL, or a file.

This will be done with a background process and a callback will be called.

This should support, at least:
- headers
- post data
- max size
- timeout.

Sebastien Helleu <flashcode>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-26 flashcode Open/ClosedOpen Closed
    2012-01-16 flashcode StatusNone Done
        Percent Complete0% 100%
        Planned Release0.3.5 0.3.7
    2010-12-31 flashcode Planned ReleaseNone 0.3.5

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code