coding utf-8 import logging SITES_FOR_PARSING http www tmz com div cla

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- coding: utf-8 -*-
import logging
SITES_FOR_PARSING = {
'http://www.tmz.com/': [
'//div[@class="featured-stories-widget"]//a[@class="hover-text has-adid"]',
],
# 'http://www.gossipcop.com/': [
#
# ],
# 'http://radaronline.com/': [
#
# ],
# 'http://hollywoodlife.com/': [
#
# ],
# 'http://rumorfix.com/': [
#
# ],
# 'http://www.usmagazine.com/': [
#
# ]
}
THREADS_COUNT = 5
LOGGING_LEVEL = logging.DEBUG