Skip to content

Commit 3b0551f

Browse files
committed
change mode from write to append
1 parent 59b7b29 commit 3b0551f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

writing_details.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
soup = BeautifulSoup(response.text, 'html.parser')
1515
businesses = soup.findAll('div', {'class': 'biz-listing-large'})
1616

17-
with open(file_path, 'w') as textFile:
17+
with open(file_path, 'a') as textFile:
1818
count = 0
1919
for biz in businesses:
2020
try:

0 commit comments

Comments
 (0)