Ejemplo n.º 1
0
    def __init__(self):
        BaseExtension.__init__(self)
        self.utils = Utils()
        self.count = 0
        self.tag = Tag()

        self.convert_url_args = ''  #'?start=' #'?start=0&tag='
        self.convert_page_step = 1
        self.convert_page_start = 1
        self.convert_page_max = 10
        self.convert_page_to_end = False
        self.convert_tag = ''  #"div#title"  # tag#class or tag
        self.convert_min_num = 0
        self.convert_max_num = 1000
        self.convert_filter = ""
        self.convert_contain = ""
        self.convert_start = 0
        self.convert_split_column_number = 0
        self.convert_output_data_to_new_tab = False
        self.convert_output_data_format = ''
        self.convert_cut_start = ''
        self.convert_cut_start_offset = 0
        self.convert_cut_end = ''
        self.convert_cut_end_offset = 0
        self.convert_remove = []
        self.convert_cut_max_len = 1000
        self.convert_script = ''
        self.convert_script_custom_ui = False
        self.convert_smart_engine = ''
        self.url_prefix = ''
Ejemplo n.º 2
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.semanticscholar = Semanticscholar()
     self.utils = Utils()
     self.category_obj = Category()
     self.record = None
     self.category = ''
     self.img_style = "-webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; background: #f8f8f8; border-top:1px solid #ccc; border-right:1px solid #666; border-bottom:2px solid #999; border-left:1px solid #ccc; padding: 0px;"
     self.img_style_2 = 'border-radius:50%;'
     self.img_style_3 = '-webkit-filter: blur(1px); -moz-filter: blur(30px); -ms-filter: blur(30px); filter: blur(1px); filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius=30, MakeShadow=false);'
Ejemplo n.º 3
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.preview_url_args = '' #'?start=' #'?start=0&tag='
     self.preview_next_page = ''
     self.preview_page_step = 1
     self.preview_page_start = 1
     self.preview_page_max = 10
     self.preview_frame_width = 471
     self.preview_frame_height = 700
     self.preview_frame_check = True
Ejemplo n.º 4
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.preview_url_args = ''  #'?start=' #'?start=0&tag='
     self.preview_next_page = ''
     self.preview_page_step = 1
     self.preview_page_start = 1
     self.preview_page_max = 10
     self.preview_frame_width = 471
     self.preview_frame_height = 700
     self.preview_frame_check = True
Ejemplo n.º 5
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.data_dir = 'extensions/content/data/'
     self.data_type = 'content'
Ejemplo n.º 6
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
Ejemplo n.º 7
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     #self.loadHistory()
     self.form_dict = None
     self.divID = ''
Ejemplo n.º 8
0
 def __init__(self):
     BaseExtension.__init__(self)
Ejemplo n.º 9
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.semanticscholar = Semanticscholar()
     self.category_obj = Category()
     self.utils = Utils()
Ejemplo n.º 10
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.count = 0
Ejemplo n.º 11
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.loadBookmark()
     self.form_dict = None
Ejemplo n.º 12
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.tag = Tag()
Ejemplo n.º 13
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.data_dir = 'extensions/content/data/'
     self.data_type = 'content'
     self.contentref = ''
Ejemplo n.º 14
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.tag = Tag()
     self.form_dict = None
Ejemplo n.º 15
0
 def __init__(self):
     BaseExtension.__init__(self)
Ejemplo n.º 16
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.kg = KnowledgeGraph()
Ejemplo n.º 17
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     #self.loadHistory()
     self.form_dict = None
     self.divID = ''
Ejemplo n.º 18
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.category_obj = Category()
     self.img_style = "-webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; background: #f8f8f8; border-top:1px solid #ccc; border-right:1px solid #666; border-bottom:2px solid #999; border-left:1px solid #ccc; padding: 0px;"
Ejemplo n.º 19
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.semanticscholar = Semanticscholar()
     self.category_obj = Category()
     self.helper = YoutubeHelper()