remove unnecessary imports

This commit is contained in:
jkhsjdhjs 2023-07-16 23:03:40 +00:00
parent 45809ff5ec
commit cc274a5d96
3 changed files with 1 additions and 9 deletions

View File

@ -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

View File

@ -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
View File

@ -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