jesopo
|
2d21dfa229
|
utils.http.Response.data should always be bytes - add .decode and .soup
|
2019-11-26 13:42:01 +00:00 |
|
jesopo
|
6a6e789ec9
|
add cookies and .json() to utils.http.Response objects
|
2019-11-25 18:17:30 +00:00 |
|
jesopo
|
48cc92cea3
|
remove double space for youtube views
|
2019-11-18 18:02:03 +00:00 |
|
jesopo
|
9c4902dcfe
|
"EventsResultsError"->"EventResultsError", move errors to utils.error
|
2019-11-18 12:06:59 +00:00 |
|
jesopo
|
d1c8357f97
|
combine both youtube API queries for playlists in to 1 query
|
2019-11-18 10:55:18 +00:00 |
|
jesopo
|
15e5d7d9bc
|
handle a youtube video having no reported views
closes #203
|
2019-11-18 10:52:22 +00:00 |
|
jesopo
|
d8ea5e9ce8
|
combine all 3 youtube API queries in to one (for speed!)
|
2019-11-18 10:52:01 +00:00 |
|
jesopo
|
5d01db8514
|
move all datetime-related code from utils/__init__ to utils.datetime
|
2019-11-15 13:59:09 +00:00 |
|
jesopo
|
9f7ef8e6d2
|
show youtube upload time as YYYY-MM-DD, not timespan
|
2019-10-30 10:25:18 +00:00 |
|
jesopo
|
d2b1250c97
|
boldify youtube video title so it stands out from all the information
|
2019-10-29 14:20:27 +00:00 |
|
jesopo
|
28139cdf68
|
show how long ago a youtube video was uploaded
closes #188
|
2019-10-29 10:20:29 +00:00 |
|
jesopo
|
7e6e40965b
|
comma-separate likes/dislikes for youtube videos
|
2019-10-25 15:07:30 +01:00 |
|
jesopo
|
ecca7927fe
|
youtube playlist info should be returning URL as a tuple item
|
2019-10-18 16:40:31 +01:00 |
|
jesopo
|
6d29291f47
|
also catch m.youtube.com urls
|
2019-10-15 17:27:02 +01:00 |
|
jesopo
|
513f8a1ddd
|
only show youtu.be url when one was not provided
closes #171
|
2019-10-08 11:39:14 +01:00 |
|
jesopo
|
896b98bbd1
|
remove LOW priority from youtube regex - it doesnt need it
|
2019-09-08 12:21:28 +01:00 |
|
jesopo
|
1340691413
|
support /embed/<id> youtube urls too
|
2019-09-07 16:28:18 +01:00 |
|
jesopo
|
50742d336c
|
also url_sanitise youtube urls found with argless !yt commands
|
2019-09-03 12:07:27 +01:00 |
|
jesopo
|
219382cc3c
|
url_sanitise youtube urls (cut off ")"/">")
|
2019-09-03 12:05:22 +01:00 |
|
jesopo
|
03c7e8f066
|
return matching string from buffer.find() as most uses were redundantly regexing
|
2019-08-13 13:48:03 +01:00 |
|
jesopo
|
9a51ac18ea
|
"!yt" without args should get .message from BufferLine
|
2019-08-13 13:25:20 +01:00 |
|
jesopo
|
adf8a6ce53
|
'amd' -> 'and'
|
2019-07-31 11:59:29 +01:00 |
|
jesopo
|
10b7875544
|
Support youtu.be urls in _from_url
|
2019-07-31 11:58:08 +01:00 |
|
jesopo
|
944f32befb
|
refactor youtube.py and handle playlist urls
closes #61
|
2019-07-26 15:19:24 +01:00 |
|
jesopo
|
ae9d099a41
|
Refactor set/channelset/serverset/botset in to 'utils.Setting' objects
|
2019-06-28 23:16:05 +01:00 |
|
jesopo
|
c5785a2d14
|
implement @utils.kwarg() magic, use it for command.regex hooks
|
2019-06-26 14:37:41 +01:00 |
|
jesopo
|
98e1202c78
|
Allow command.regex hooks to opt-in to being triggered from a /me
closes #68
|
2019-06-16 18:40:25 +01:00 |
|
jesopo
|
268c5adb3c
|
Add depends-on hashflags to relevant modules
|
2019-05-25 21:40:06 +01:00 |
|
jesopo
|
cf29c37112
|
Add usage examples for all settings
|
2019-05-23 10:28:14 +01:00 |
|
jesopo
|
2ff21f5f78
|
Typo, 'colr' -> 'color'
|
2019-05-19 21:41:56 +01:00 |
|
jesopo
|
c6f82d3866
|
green/red the whole of likes/dislikes, not just up/down symbols
|
2019-05-19 21:39:35 +01:00 |
|
jesopo
|
bf6e4a0e40
|
green/red color for up/down votes on youtube videos
|
2019-05-19 17:33:02 +01:00 |
|
jesopo
|
4e0e63e7f8
|
Hand over regex-based-command responsibilities to commands module
|
2019-05-18 18:35:47 +01:00 |
|
jesopo
|
9bdd28ce60
|
Ignore users ignored from !youtube for auto-youtube
|
2019-05-09 13:43:52 +01:00 |
|
jesopo
|
15fc5f7124
|
raise EventError when no results are found, to avoid double stderr write (youtube.py)
|
2019-02-14 01:00:16 +00:00 |
|
jesopo
|
730a4e6b87
|
Don't use the event system to get results from other modules - use exports
|
2019-02-09 13:14:45 +00:00 |
|
jesopo
|
3fae5c52cd
|
Forgot to import EventManager (title.py, youtube.py)
|
2019-02-09 10:57:32 +00:00 |
|
jesopo
|
31367b2b5d
|
Eat youtube URLs on LOW priority, switch auto-title to MONITOR priority
|
2019-02-09 10:56:06 +00:00 |
|
jesopo
|
0fd180a5c2
|
'EventResultError' -> 'EventsResultsError' typo (maybe this should actually be
named 'EventResultError') (youtube.py)
|
2019-01-21 19:32:37 +00:00 |
|
jesopo
|
65db982f1f
|
Show a "failed to load results" error when a video_id search returns no results
(youtube.py)
|
2019-01-21 19:30:39 +00:00 |
|
jesopo
|
e5a5241615
|
Only try to regex match a youtube url if we actually have a search string
(youtube.py)
|
2019-01-11 12:03:23 +00:00 |
|
jesopo
|
59094568e0
|
Add youtube-safesearch channel setting, to allow channels to opt-in to turning
off any safe search filters (youtube.py)
|
2019-01-11 11:30:29 +00:00 |
|
jesopo
|
d2fe95e0cc
|
Fix missing change to new Response objects from utils.http.request (youtube.py)
|
2018-12-12 13:28:54 +00:00 |
|
jesopo
|
793d234a0b
|
'utils.http.get_url' -> 'utils.http.request', return a Response object from
utils.http.request
|
2018-12-11 22:26:38 +00:00 |
|
jesopo
|
a3a88d4589
|
Use more distinctive arrow characters for youtube up/down votes
|
2018-12-09 21:02:58 +00:00 |
|
jesopo
|
705daaf9bb
|
Don't needlessly search a youtube URL before getting the information for it's
video ID when a URL is provided to !yt
|
2018-10-29 23:13:32 +00:00 |
|
jesopo
|
8ea6db9422
|
Standardise "Failed to load results" errors!
|
2018-10-20 20:53:24 +01:00 |
|
jesopo
|
376825ea96
|
Mark command hooks that are aliases ('g' vs 'google')
|
2018-10-10 10:42:41 +01:00 |
|
jesopo
|
69d58eede2
|
Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
|
2018-10-03 13:22:37 +01:00 |
|
jesopo
|
10ef985a8a
|
Switch to using docstring for usage, permission and require_mode
|
2018-09-30 17:29:09 +01:00 |
|