mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -05:00
YouTube/IMDb: remove unneeded imports
This commit is contained in:
parent
702922efd7
commit
e0266f6987
@ -28,7 +28,6 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
###
|
||||
|
||||
import sys
|
||||
import supybot.utils as utils
|
||||
from supybot.commands import *
|
||||
import supybot.plugins as plugins
|
||||
@ -101,8 +100,6 @@ class IMDb(callbacks.Plugin):
|
||||
meta = None
|
||||
tomato = None
|
||||
imdb_template = self.registryValue("template")
|
||||
if sys.version_info[0] < 3:
|
||||
imdb_template = imdb_template.decode("utf-8")
|
||||
imdb_template = imdb_template.replace("$title", response["Title"])
|
||||
imdb_template = imdb_template.replace("$year", response["Year"])
|
||||
imdb_template = imdb_template.replace("$country", response["Country"])
|
||||
|
@ -28,7 +28,6 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
###
|
||||
|
||||
import sys
|
||||
import supybot.utils as utils
|
||||
from supybot.commands import *
|
||||
import supybot.plugins as plugins
|
||||
@ -38,7 +37,6 @@ import supybot.callbacks as callbacks
|
||||
import supybot.log as log
|
||||
import requests
|
||||
import pendulum
|
||||
import re
|
||||
from jinja2 import Template
|
||||
from fake_useragent import UserAgent
|
||||
from bs4 import BeautifulSoup
|
||||
|
Loading…
x
Reference in New Issue
Block a user