Skip to content

Commit

Permalink
fix xpath error for the main download url
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutra-Fs authored Dec 1, 2023
1 parent 1feec2d commit fce45bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/parse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ do
# sed -n '22p' ./tmp/parse/${i}.info >> ./tmp/parse/${i}-result.info
# sed -n '24p' ./tmp/parse/${i}.info >> ./tmp/parse/${i}-result.info
VERSION=$(xmllint --xpath "string(/response/app/updatecheck/manifest/@version)" ./tmp/checker/${i}.xml)
URL1=$(xmllint --xpath "string(/response/app/updatecheck/urls/url[starts-with(@codebase,'https://redirector.gvt1.com')]/@codebase)" ./tmp/checker/${i}.xml)
URL1=$(xmllint --xpath "string(/response/app/updatecheck/urls/url[starts-with(@codebase,'https://edgedl.me.gvt1.com')]/@codebase)" ./tmp/checker/${i}.xml)
URL2=$(xmllint --xpath "string(/response/app/updatecheck/urls/url[starts-with(@codebase,'https://dl.google.com')]/@codebase )" ./tmp/checker/${i}.xml)
INSTALLER=$(xmllint --xpath "string(/response/app/updatecheck/manifest/actions/action[@event='install']/@run)" ./tmp/checker/${i}.xml)
SHA256=$(xmllint --xpath "string(/response/app/updatecheck/manifest/packages/package/@hash_sha256)" ./tmp/checker/${i}.xml)
Expand Down

0 comments on commit fce45bd

Please sign in to comment.