Update RAI2.sh

fix find url
This commit is contained in:
fenix-soft 2016-11-28 10:50:35 +01:00 committed by GitHub
parent acec9d52f3
commit 594cf6b6ff
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308718&output=45" -U "iphone" -O p.txt wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308718&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt grep content p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt sed -e 's/<\/url>//g' temp2.txt >temp.txt