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