Commit Graph

114 Commits

Author SHA1 Message Date
Gordon Shumway 8dcbb7a195 Update plugin.py 2019-03-08 23:36:32 -05:00
Tobias Rosenqvist 85bd8e21a2 SpiffyTitles: refactored t() 2017-04-14 14:23:45 +02:00
Tobias Rosenqvist c385cb4ac7 SpiffyTitles: fix for "typo" in my last commit 2017-04-14 01:51:23 +02:00
Tobias Rosenqvist bc92311f47 SpiffyTitles: Make t work again, and behave saner 2017-04-14 01:05:53 +02:00
Tobias Rosenqvist dd5b428b7f Refactored the template fetching, which requires py3<->py2 considerations,
into it's own method; get_template()
2017-04-12 09:14:37 +00:00
Tobias Rosenqvist e33acd7331 Made it work properly (at all) on py3 again.
It should also still work on py2.
2017-04-09 16:36:13 +00:00
Skeeter Alvarez a79c679ca7 Make SSL verification configurable with registry value verifySSL 2017-04-04 13:39:50 -07:00
Skeeter Alvarez 0837ad539e Fix some issues that prevented plugin from being loaded on python3.. 2017-04-04 13:17:25 -07:00
Butterscotch Stallion b714f8bc1d Merge pull request #100 from lunchdump/master
Make UTF-8 support python2 friendly
2017-04-03 19:03:48 -04:00
Skeeter Alvarez c253465dd1 Make UTF-8 support python2 friendly 2017-04-03 15:58:51 -07:00
Butterscotch Stallion 94278087db Merge pull request #99 from Znuff/patch-3
Changed BeautifulSoup parser to html5lib
2017-04-03 17:43:22 -04:00
Butterscotch Stallion f601392aa4 Merge pull request #98 from Znuff/patch-2
Added unicode support to templates
2017-04-03 17:40:50 -04:00
Bogdan Ilisei 520776d371 Changed BeautifulSoup parser to html5lib
This makes it possible for SpiffyTitles to decode html entities like &abreve; &acirc; &comma; etc.
2017-03-09 22:48:03 +02:00
Bogdan Ilisei 4e5167fd5b Added unicode support to templates
Allows unicode chars and emojis to be used in templates.
2017-02-28 09:19:38 +02:00
Tobias Rosenqvist b0f74a81e3 Fixes #91 2 - ran 2to3 to fix Python2->Python3 issues 2016-11-17 22:48:24 +00:00
Tobias Rosenqvist 440ef154ab Fixes #91 1 - unicodedata.normalize() is what was most likely intended here, also deciding on NFC normalization 2016-11-17 21:24:53 +00:00
butterscotchstallion b49d289ae1 Fixes #76 - use irc.queueMsg for all messages 2016-01-30 14:07:43 -05:00
butterscotchstallion f50d9307ac Fixes #86 for real - adds specific handling for the case of dai.ly 2016-01-30 14:04:24 -05:00
butterscotchstallion 997aa7eb13 Adds dailymotion.com to Daily Motion handler 2016-01-30 13:43:14 -05:00
butterscotchstallion ddddb195c7 Fixes #86 - Adds dai.ly domain for Daily Motion handler 2016-01-30 13:32:38 -05:00
butterscotchstallion e52b731862 Fixes a bug in has_capability which wasn't including the channel
Lots of pep8 cleanup
2016-01-07 18:38:53 -05:00
kerozene a58d571cc8 SpiffyTitles: improve Reddit handler template tags
- {{age}} 'today', 'yesterday'
- {{title}} in commentTemplate is thread title
2015-12-14 15:35:53 +11:00
kerozene cf97950568 SpiffyTitles: Fix wrong return value 'None' in get_source_by_url() 2015-12-13 12:53:42 +11:00
kerozene 8883df571c SpiffyTitles: default handler - take the first non-empty title tag 2015-12-13 02:47:55 +11:00
kerozene 8b3b997086 SpiffyTitles: Add Reddit handler 2015-12-12 15:15:44 +11:00
kerozene 207f48e5a1 SpiffyTitles: Add a fallback base domain matcher for handlers
- Fixes #77
2015-12-12 04:12:50 +11:00
kerozene 0d627f45a3 SpiffyTitles: Add warning if link is a redirect to a different domain
- redirect sites like http://grabify.link present innocuous content
  while logging IPs
2015-12-12 04:12:50 +11:00
kerozene 5847c0601e SpiffyTitles: Make domainPattern settings channel-based 2015-12-12 04:12:50 +11:00
kerozene 05b7ea1a46 SpiffyTitles: Implement Wikipedia extracts 2015-11-20 04:37:08 +11:00
butterscotchstallion ed4dde81c1 Fixes logging issues 2015-11-12 01:25:06 -05:00
butterscotchstallion 0a938a1fce Fixes a typo 2015-11-12 01:09:40 -05:00
butterscotchstallion 492e4fbee5 Reduces verbosity of logging and updates documentation 2015-11-11 18:15:28 -05:00
kerozene b7ee7bd891 SpiffyTitles: fix 'hours' edge case for #72 2015-11-11 12:51:58 +11:00
butterscotchstallion 237591941e Fixes #72 - parse error for timestamps that don't have seconds 2015-11-10 00:48:10 -05:00
butterscotchstallion e3b71443b0 Changes nearly every configuration option to be per-channel! 2015-11-09 19:44:49 -05:00
butterscotchstallion a16014c039 Changes "defaultTitleTemplate" to a channel configuration value 2015-11-09 18:24:17 -05:00
butterscotchstallion 46e1851369 Removes some debugging code 2015-11-08 22:36:53 -05:00
butterscotchstallion b13d32481f Changes linkMessageIgnorePattern to a channel configuration settings. Also documents that setting 2015-11-08 19:13:26 -05:00
kerozene 17619f96c0 SpiffyTitles: Add YouTube start timestamp 2015-11-07 05:05:19 +11:00
butterscotchstallion c8e8ddd3c6 Merge branch 'master' of github.com:butterscotchstallion/limnoria-plugins 2015-11-03 18:53:11 -05:00
butterscotchstallion 88a9434087 Fixes #40 - adds requireCapability setting 2015-11-03 18:52:22 -05:00
kerozene eebfdefeb5 SpiffyTitles: Fetch Rotten Tomatoes data for IMDB handler
Also add alternative IMDB template as config comment
2015-10-26 16:42:47 +11:00
kerozene e21690272e Implements 'ignoredTitlePattern' config setting
- issue #62
2015-10-20 16:39:32 +11:00
butterscotchstallion 4da253901e Fixes #66 - Some videos don't have all the information we use available. This update
sets defaults for like count, dislike count, favorite count, view count, and comment count.
2015-10-18 21:33:07 -04:00
butterscotchstallion e82593f54e Specifies parser for BS
Removes debugging log message
2015-10-17 22:02:50 -04:00
butterscotchstallion e3fd89502d Fixes #64 - Sets priority for this message to DEBUG, as it's only really
useful for that.
2015-10-17 20:44:08 -04:00
butterscotchstallion cdbf7932e1 Fixes #65 - Adds "ignoreActionLinks" configuration option, which allows users to
specify whether links that appear within actions are ignored. False by default.
2015-10-17 20:41:33 -04:00
PrgmrBill 8fec95464f Fixes #60 - Unusual markup yields incorrect title 2015-07-28 21:15:37 -04:00
PrgmrBill 21e8dea942 SpiffyTitles: fixes #58 - adds dailymotion video handler 2015-06-26 17:45:25 -04:00
PrgmrBill 9fa8ff7581 SpiffyTitles: fixes #57 - Adds vimeo handler 2015-06-24 18:49:10 -04:00