__all__ = ['robot_urllib']
-import os
import sys
-import time
import urllib
from Robots.bkmk_robot_base import robot_base, get_error
"""
__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2017 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2000-2023 PhiloSoft Design"
__license__ = "GNU GPL"
__all__ = ['writer_flad_err']
-import time
from bkmk_wflad import writer_flad
__all__ = ['writer_html']
-from m_lib.defenc import default_encoding
from bkmk_objects import Writer, BKMK_FORMAT, quote_title
__copyright__ = "Copyright (C) 2002-2023 PhiloSoft Design"
__license__ = "GNU GPL"
-import os
import sys
import time
bookmark.name = ''
bookmark.parent = None
- global robot
- robot = robot(None)
+ global _robot
+ _robot = robot(None)
- if robot.check_url(bookmark): # get real title and last modified date
+ if _robot.check_url(bookmark): # get real title and last modified date
if title: # forced title
bookmark.name = title
elif hasattr(bookmark, "real_title"):
"""
from __future__ import print_function
-import os
import sys
__all__ = ['parse_html']
-import re
from bs4 import BeautifulSoup
from .bkmk_ph_util import HTMLParser