]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
plugin(imdb): changed base url
authorMatthias Hecker <mail@apoc.cc>
Sat, 28 Mar 2020 02:55:57 +0000 (03:55 +0100)
committerMatthias Hecker <mail@apoc.cc>
Sat, 28 Mar 2020 02:55:57 +0000 (03:55 +0100)
data/rbot/plugins/imdb.rb

index 57cae635d4535bb75cccc1c1dfaa6360ed6b12ee..0f5c6024b6306ddcd73079500208dde7a02dbf55 100644 (file)
@@ -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>/