mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
1186c39512
commit
1f81dbb947
|
@ -578,8 +578,7 @@ def _xml2str_to_dict(base_dir: str, domain: str, xml_str: str,
|
||||||
if post_ctr >= max_posts_per_source:
|
if post_ctr >= max_posts_per_source:
|
||||||
break
|
break
|
||||||
if post_ctr > 0:
|
if post_ctr > 0:
|
||||||
print('Added ' + str(post_ctr) +
|
print('Added ' + str(post_ctr) + ' rss 2.0 feed items to newswire')
|
||||||
' rss 2.0 feed items to newswire')
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
@ -670,8 +669,7 @@ def _xml1str_to_dict(base_dir: str, domain: str, xml_str: str,
|
||||||
if post_ctr >= max_posts_per_source:
|
if post_ctr >= max_posts_per_source:
|
||||||
break
|
break
|
||||||
if post_ctr > 0:
|
if post_ctr > 0:
|
||||||
print('Added ' + str(post_ctr) +
|
print('Added ' + str(post_ctr) + ' rss 1.0 feed items to newswire')
|
||||||
' rss 1.0 feed items to newswire')
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
@ -750,8 +748,7 @@ def _atom_feed_to_dict(base_dir: str, domain: str, xml_str: str,
|
||||||
if post_ctr >= max_posts_per_source:
|
if post_ctr >= max_posts_per_source:
|
||||||
break
|
break
|
||||||
if post_ctr > 0:
|
if post_ctr > 0:
|
||||||
print('Added ' + str(post_ctr) +
|
print('Added ' + str(post_ctr) + ' atom feed items to newswire')
|
||||||
' atom feed items to newswire')
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue