Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
prepare for 3-2-1
  • Loading branch information
masamichiIto committed Aug 23, 2023
commit 7cbed41405a278b03266488a04dbb1c94eb76a9a
4 changes: 4 additions & 0 deletions chap3_work.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def getLinks(articleUrl):
"""

## 3-2
"""
# 停止条件が満たされにくいコードのため,どっかでctrl+Cで止める必要あり
pages = set()
def getLinks(pageUrl):
Expand All @@ -45,3 +46,6 @@ def getLinks(pageUrl):
getLinks(newPage)

getLinks('')
"""

## 3-2-1