X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Robots%2Fbkmk_rforking_sub.py;h=73956e246d6b02342e3256248bc7e90639c8b501;hb=dd4a55d4969765d22e00bdcc741e7f86da237efb;hp=6ae0d8c521ed50e35b61387a9e2413af0b3e05d6;hpb=7028dcb5fe31ccf6d348dca315154d719f3c481e;p=bookmarks_db.git diff --git a/Robots/bkmk_rforking_sub.py b/Robots/bkmk_rforking_sub.py index 6ae0d8c..73956e2 100755 --- a/Robots/bkmk_rforking_sub.py +++ b/Robots/bkmk_rforking_sub.py @@ -1,10 +1,16 @@ #! /usr/bin/env python -""" - Check URL - subprocess for the forking robot +"""Subprocess for the forking robot - check URL using bkmk_rurlib robot + +This file is a part of Bookmarks database and Internet robot. - Written by BroytMann. Copyright (C) 1999-2007 PhiloSoft Design. """ +__author__ = "Oleg Broytman " +__copyright__ = "Copyright (C) 1999-2014 PhiloSoft Design" +__license__ = "GNU GPL" + +__all__ = [] + import sys, os @@ -18,7 +24,6 @@ except ImportError: import pickle from subproc import RecordFile -import bkmk_rsimple def run(): @@ -27,8 +32,8 @@ def run(): from m_lib.flog import openlog log = openlog("check2.log") - from bkmk_rsimple import robot_simple - robot = robot_simple(None, log) + from bkmk_rurllib import robot_urllib + robot = robot_urllib(log) while 1: bookmark = pickle.loads(bkmk_in.read_record())