Skip to content

Commit

Permalink
wikipedia: fix article link broken by last patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Mar 4, 2022
1 parent fd85112 commit 3052215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/wikipedia/wikipedia.factor
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ PRIVATE>
[ historical-get-deaths sections. ] bi ;

: article. ( name -- )
wikipedia-url http-get nip parse-html
"wiki/" prepend wikipedia-url http-get nip parse-html
"content" find-by-id-between
html-text split-lines
[ [ ascii:blank? ] trim ] map harvest [
Expand Down

0 comments on commit 3052215

Please sign in to comment.