diff --git a/recipes/bloomberg-business-week.recipe b/recipes/bloomberg-business-week.recipe
index 593a548bec..e9812e7157 100644
--- a/recipes/bloomberg-business-week.recipe
+++ b/recipes/bloomberg-business-week.recipe
@@ -176,15 +176,16 @@ class Bloomberg(BasicNewsRecipe):
caption = '' + data['lede']['alt'] + ''
if m:
- time.sleep(10)
+ time.sleep(5)
body = data['body']
else:
body = ''
body_data = data['body']['content']
for x in body_data:
- pause = random.choice((0.25, 0.5, 0.75, 1))
- time.sleep(pause)
body += get_contents(x)
+ pause = random.choice((4, 5, 6, 7, 8, 9))
+ self.log('Delay: ', pause, ' seconds')
+ time.sleep(pause)
return '
' + cat + title + subhead + auth + lede + caption + '' + body + '
'
def preprocess_html(self, soup):
diff --git a/recipes/bloomberg.recipe b/recipes/bloomberg.recipe
index ac7e0f851e..b7ee45be05 100644
--- a/recipes/bloomberg.recipe
+++ b/recipes/bloomberg.recipe
@@ -170,15 +170,16 @@ class Bloomberg(BasicNewsRecipe):
caption = '' + data['lede']['alt'] + ''
if m:
- time.sleep(3)
+ time.sleep(5)
body = data['body']
elif m2:
body = ''
body_data = data['body']['content']
for x in body_data:
- pause = random.choice((0.25, 0.5, 0.75, 1))
- time.sleep(pause)
body += get_contents(x)
+ pause = random.choice((4, 5, 6, 7, 8, 9))
+ self.log('Delay: ', pause, ' seconds')
+ time.sleep(pause)
return '' + cat + title + subhead + auth + lede + caption + '' + body + '
'
def preprocess_html(self, soup):