24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
always_google = 1 # use favicon service for speed
only_google = 1 # if that fails, try our other/slower methods?
delete_google_stub = 1 # don't keep placeholder images
google_placeholder_filesizes = (726,896)
import os, os.path
import urllib
import re
from config import conf
try: from processing import Process as Thread
except: from threading import Thread
import ahttp
|
|
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
always_google = 1 # use favicon service for speed
only_google = 1 # if that fails, try our other/slower methods?
delete_google_stub = 1 # don't keep placeholder images
google_placeholder_filesizes = (726,896)
import os, os.path
from compat2and3 import xrange, urllib
import re
from config import conf
try: from processing import Process as Thread
except: from threading import Thread
import ahttp
|