Skip to content

Commit 36f06dd

Browse files
committed
3.1 对typecho类型博客的atom爬取
1 parent 0fc8b79 commit 36f06dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handlers/coreLink.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def atom_get(user_info, post_poor, config=config.yml):
225225
soup = BeautifulSoup(html, 'html.parser')
226226
items = soup.find_all("entry")
227227
if len(items) == 0:
228-
html = request.get_data(link + "/feed/atom.xml")
228+
html = request.get_data(link + "/feed/atom")
229229
soup = BeautifulSoup(html, 'html.parser')
230230
items = soup.find_all("entry")
231231
l = 5

0 commit comments

Comments
 (0)