Example #1
0
def download_stories_get_link_only():
    """
    Get links of stories (Same as download_stories, but do not save any image, only get links).
    """
    log_file = '{0}/summary_HT/{1}.json'.format(LOG_DIR, utils.get_current_time())
    abstract_core.download_stories(log_file=log_file, method='get_link_only')
Example #2
0
def download_stories():
    """
    Download stories from download_list.yaml.
    """
    log_file = '{0}/summary/{1}.json'.format(LOG_DIR, utils.get_current_time())
    abstract_core.download_stories(log_file=log_file)