Skip to content

Commit

Permalink
drop citation language
Browse files Browse the repository at this point in the history
  • Loading branch information
wpears committed Mar 7, 2024
1 parent 8fe17ca commit 24d6ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/save-ecfr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
for PART in "${BASH_PARTS[@]}"; do
echo "$PART"
curl -sSL "https://www.ecfr.gov/api/renderer/v1/content/enhanced/${{ steps.date.outputs.value }}/title-12?chapter=X&part=${PART}" |
htmlq -r 'h1, .source, .authority' |
htmlq -r 'h1, .source, .authority .citation' |
htmlq -t '.part' |
sed -e '/^ *$/d' -e 's/ / /g' -e 's/–/-/g' |
awk '{$1=$1};1' > "./ecfr/${PART}.txt"
Expand Down

0 comments on commit 24d6ef2

Please sign in to comment.