Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Commit

Permalink
Update run-scraper.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fugkco authored Nov 5, 2021
1 parent 7403649 commit 0de8202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run-scraper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ esac
# ignore errors as it will still output the XML for valid channels
"/usr/bin/tv_grab_$grabber" --days "$days" --offset "$offset" --quiet >"xmltv/$grabber.xml" || true

tv_sort --by-channel --output "xmltv/$grabber.xml" "xmltv/$grabber.xml"
tv_sort --by-channel --output "xmltv/$grabber.xml" "xmltv/$grabber.xml" || true
find xmltv -name "${grabber}-split-*" -print0 | sort --zero-terminated --version-sort | tail --zero-terminated --lines=6 | xargs -r -t -0 tv_sort --by-channel --output "xmltv/${grabber}_hist.xml"

tv_count -i "xmltv/$grabber.xml"
Expand Down

0 comments on commit 0de8202

Please sign in to comment.