Compare commits
5 Commits
9f06384deb
...
3a0630f77b
Author | SHA1 | Date | |
---|---|---|---|
3a0630f77b | |||
f99217e14d | |||
116154a111 | |||
9d52c8454b | |||
34515fba31 |
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@ __pycache__/
|
||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
config.py
|
config.py
|
||||||
|
*.txt
|
||||||
|
|
|
@ -76,7 +76,7 @@ def scrape_zombie_knight(soup):
|
||||||
for entry in entries[:20]:
|
for entry in entries[:20]:
|
||||||
entry_dict = {}
|
entry_dict = {}
|
||||||
entry_dict['title'] = entry.title.text
|
entry_dict['title'] = entry.title.text
|
||||||
entry_dict['link'] = soup.find("link", rel='alternate').get('href')
|
entry_dict['link'] = entry.find("link", rel='alternate').get('href')
|
||||||
date = entry.updated.text
|
date = entry.updated.text
|
||||||
date = "".join(re.search("(.*)\.\d{3}(.\d{2}):(\d{2})", date).groups())
|
date = "".join(re.search("(.*)\.\d{3}(.\d{2}):(\d{2})", date).groups())
|
||||||
date = time.strptime(date, '%Y-%m-%dT%H:%M:%S%z')
|
date = time.strptime(date, '%Y-%m-%dT%H:%M:%S%z')
|
||||||
|
|
16
feeds.txt
16
feeds.txt
|
@ -1,16 +0,0 @@
|
||||||
https://waremetetranslations.wordpress.com/feed/
|
|
||||||
https://www.factorio.com/blog/rss
|
|
||||||
https://twigserial.wordpress.com/feed/
|
|
||||||
http://lmsketch.tumblr.com/rss
|
|
||||||
http://feeds.feedburner.com/mstream
|
|
||||||
http://hpmor.com/feed/
|
|
||||||
http://fenoxo.com/feed/
|
|
||||||
http://bagserk.blogspot.com/feeds/posts/default?alt=rss
|
|
||||||
http://www.ggkthx.org/feed/
|
|
||||||
http://www.evil-genius.us/feed/
|
|
||||||
http://feeds.feedburner.com/oatmealfeed
|
|
||||||
http://roguetranslations.wordpress.com/feed/
|
|
||||||
http://notch.tumblr.com/rss
|
|
||||||
http://feeds2.feedburner.com/virtualshackles
|
|
||||||
http://thepunchlineismachismo.com/feed
|
|
||||||
http://konashion.blogspot.com/feeds/posts/default?alt=rss
|
|
Loading…
Reference in New Issue
Block a user