Beispiel #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 = ''
Beispiel #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);'
Beispiel #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
Beispiel #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
Beispiel #5
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.data_dir = 'extensions/content/data/'
     self.data_type = 'content'
Beispiel #6
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
Beispiel #7
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     #self.loadHistory()
     self.form_dict = None
     self.divID = ''
Beispiel #8
0
 def __init__(self):
     BaseExtension.__init__(self)
Beispiel #9
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.semanticscholar = Semanticscholar()
     self.category_obj = Category()
     self.utils = Utils()
Beispiel #10
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.count = 0
Beispiel #11
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.loadBookmark()
     self.form_dict = None
Beispiel #12
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.tag = Tag()
Beispiel #13
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.data_dir = 'extensions/content/data/'
     self.data_type = 'content'
     self.contentref = ''
Beispiel #14
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.tag = Tag()
     self.form_dict = None
Beispiel #15
0
 def __init__(self):
     BaseExtension.__init__(self)
Beispiel #16
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.kg = KnowledgeGraph()
Beispiel #17
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     #self.loadHistory()
     self.form_dict = None
     self.divID = ''
Beispiel #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;"
Beispiel #19
0
 def __init__(self):
     BaseExtension.__init__(self)
     self.utils = Utils()
     self.semanticscholar = Semanticscholar()
     self.category_obj = Category()
     self.helper = YoutubeHelper()