Skip to content

Commit 4467182

Browse files
committed
..
1 parent 2cfb271 commit 4467182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

day2_4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
links = pagination.find_all('a')
1818
pages = []
1919

20-
# 이렇게 걸러낸 리스트 안에 span이 있으므로 이를 리스트에 담아 추출.
20+
# 이렇게 걸러낸 리스트 안에 d또 span이 있으므로 이를 리스트에 담아 추출.
2121
for link in links[:-1]: #마지막 요소는 읽지 않겠다는 뜻
2222
#pages.append(link.find("span").string) # string만 가져오길 원함
2323
pages.append(int(link.string)) #string -> integer 변환

0 commit comments

Comments
 (0)