Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/i/PixivUtil2-HEAD/PixivUtil2.py   PixivUtil2(Download)
def process_tags_list(mode, filename, page=1, end_page=0):
    try:
        print "Reading:", filename
        l = PixivTags.parseTagsList(filename)
        for tag in l:
        if __config__.useBlacklistTags:
            global __blacklistTags
            __blacklistTags = PixivTags.parseTagsList("blacklist_tags.txt")
            PixivHelper.printAndLog('info', 'Using Blacklist Tags: ' + str(len(__blacklistTags)) + " items.")
 
        if __config__.useSuppressTags:
            global __suppressTags
            __suppressTags = PixivTags.parseTagsList("suppress_tags.txt")