summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorMatthias Hecker <mail@apoc.cc>2020-03-28 03:55:57 +0100
committerMatthias Hecker <mail@apoc.cc>2020-03-28 03:55:57 +0100
commita5ba341ceac6a73b690c2d84001766b75bcb249f (patch)
tree76c48b1f7e072f1120e4486fec17b5a7d1f1f960 /data/rbot/plugins
parent531bc63bd14c6bc3fd98f7fbcfa2f9a01fe21eb0 (diff)
plugin(imdb): changed base url
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/imdb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/imdb.rb b/data/rbot/plugins/imdb.rb
index 57cae635..0f5c6024 100644
--- a/data/rbot/plugins/imdb.rb
+++ b/data/rbot/plugins/imdb.rb
@@ -12,7 +12,7 @@
# License:: MIT license
class Imdb
- IMDB = "http://www.imdb.com"
+ IMDB = "https://www.imdb.com"
TITLE_OR_NAME_MATCH = /<a\s+href="(\/(?:title|name)\/(?:tt|nm)[0-9]+\/?)[^"]*"(?:[^>]*)>([^<]*)<\/a>/
TITLE_MATCH = /<a\s+href="(\/title\/tt[0-9]+\/?)[^"]*"(?:[^>]*)>([^<]*)<\/a>/
NAME_MATCH = /<a\s+onclick="[^"]+"\s+href="(\/name\/nm[0-9]+\/?)[^"]*"(?:[^>]*)>([^<]*)<\/a>/