remove unnecessary imports
This commit is contained in:
parent
45809ff5ec
commit
cc274a5d96
4
bert.py
4
bert.py
|
@ -8,11 +8,9 @@ from time import sleep
|
||||||
import launch
|
import launch
|
||||||
import threading
|
import threading
|
||||||
import re
|
import re
|
||||||
import html
|
|
||||||
import json
|
import json
|
||||||
import requests
|
import requests
|
||||||
from datetime import datetime
|
from datetime import datetime, timedelta
|
||||||
from datetime import timedelta
|
|
||||||
import konfuzius
|
import konfuzius
|
||||||
import fml
|
import fml
|
||||||
import string
|
import string
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import random
|
import random
|
||||||
import json
|
|
||||||
import requests
|
import requests
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
|
|
||||||
|
|
5
rss.py
5
rss.py
|
@ -3,16 +3,11 @@
|
||||||
|
|
||||||
import feedparser
|
import feedparser
|
||||||
import time
|
import time
|
||||||
from subprocess import check_output
|
|
||||||
import sys
|
|
||||||
|
|
||||||
def check():
|
def check():
|
||||||
feed_name = 'fefe'
|
feed_name = 'fefe'
|
||||||
url = 'https://blog.fefe.de/rss.xml'
|
url = 'https://blog.fefe.de/rss.xml'
|
||||||
|
|
||||||
#feed_name = sys.argv[1]
|
|
||||||
#url = sys.argv[2]
|
|
||||||
|
|
||||||
db = 'rss_feeds.db'
|
db = 'rss_feeds.db'
|
||||||
limit = 12 * 3600 * 1000
|
limit = 12 * 3600 * 1000
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user