from ..plugin import Plugin
from ..DI import DI
import xbmc

class http(Plugin):
    name = "http"
    priority = 0

    def get_list(self, url):
        if url.startswith("http"):
            try : 
                return DI.session.get(url).text
            except : return ("<<<< http plugin failed >>>>") 
