git2talimat_calismasi
This commit is contained in:
parent
00ada654ac
commit
03e439a31b
|
@ -1,6 +1,11 @@
|
||||||
|
packager="milisarge"
|
||||||
account="$1"
|
account="$1"
|
||||||
name="$2"
|
name="$2"
|
||||||
file="$name.html"
|
file="$name.html"
|
||||||
curl -k https://github.com/"$account/$name" > "$file"
|
url=https://github.com/"$account/$name"
|
||||||
|
curl -k $url > "$file"
|
||||||
desc=`sed -n 's|[^<]*<span itemprop="about">\([^<]*\)</span>[^<]*|\1\n|gp' $file`
|
desc=`sed -n 's|[^<]*<span itemprop="about">\([^<]*\)</span>[^<]*|\1\n|gp' $file`
|
||||||
echo "# Description:$desc"
|
echo "# description:$desc"
|
||||||
|
echo "# url:$url"
|
||||||
|
echo "# packager:$packager"
|
||||||
|
echo "# depends on: "
|
||||||
|
|
Loading…
Reference in New Issue