Skip to content

Commit 1212e66

Browse files
committed
Update API
1 parent e4de629 commit 1212e66

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bgg_thread_import.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ read_dom () {
1010

1111
title='subject'
1212

13-
curl https://www.boardgamegeek.com/xmlapi2/thread -d id=$1 -d count=1 | while read_dom; do
13+
curl "https://boardgamegeek.com/xmlapi2/thread?id=$1&count=1" | while read_dom; do
1414
if [[ $ENTITY = $title ]]; then
1515
echo "---
1616
layout: post
17-
title: '$2—$CONTENT'
17+
title: '$2: $CONTENT'
1818
tags: game review
19+
comments: yes
1920
---
2021
2122
[Originally published on Board Game

0 commit comments

Comments
 (0)