scripts icon indicating copy to clipboard operation
scripts copied to clipboard

urlgrab.py 3.1: store urls by buffer `full_name`

Open Ronnie76er opened this issue 3 years ago • 0 comments

Script info

  • Script name: urlgrab.py
  • Version: 3.1

Description

This adds an option to store URLs by the full_name of the buffer, rather than the short_name or name that is currently the default.

This fixes an issue that I had directly, where some buffers would (frequently) get typing indicators at the short name, thus storing the URL under >general instead of #general. This would break trying to open URLs by index in the channel.

This should also address issue #90, as the full name should contain the network information in it.

There is also a small linting cleanup, using completion_list_add and fixing the weechat URLs

Checklist (script update)

  • [ ] Author has been contacted
  • [x] Single commit, single file added
  • [x] Commit message format: script_name.py X.Y: …
  • [x] Script version and Changelog have been updated
  • [x] For Python script: works with Python 3 (Python 2 support is optional)
  • [x] Score 100 / 100 displayed by weechat-script-lint

Ronnie76er avatar Aug 03 '22 19:08 Ronnie76er