<commit_before>
#https://hacker-news.firebaseio.com/v0/topstories.json?print=pretty
import json
import requests
import re
from datetime import datetime, timedelta
import time
from scrapy import Selector
from .fetch import fetch
from news import session, delete_news,save_news,save_cache

hackernews_url = 'https://news.layervault.com/'

Site="DesignerNews"



def fetch_news(url, news_list):
	res = fetch(url)
	if res['code'] != 200:
		return []
	html = res['html']
	#print html
	hxs = Selector(text=html)<commit_msg>logging<commit_after>
#https://hacker-news.firebaseio.com/v0/topstories.json?print=pretty
import json
import requests
import re
import logging
from datetime import datetime, timedelta
import time
from scrapy import Selector
from .fetch import fetch
from news import session, delete_news,save_news,save_cache

hackernews_url = 'https://news.layervault.com/'

Site="DesignerNews"



def fetch_news(url, news_list):
	res = fetch(url)
	if res['code'] != 200:
		return []
	html = res['html']
	#print html
	hxs = Selector(text=html)
{'fraction_non_alphanumeric': 0.1112176414189837, 'fraction_numerical': 0.007670182166826462, 'mean_word_length': 5.649681528662421, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3711764', 'n_tokens_mistral': 364, 'n_tokens_neox': 346, 'n_words': 93}