Skip to content

Commit

Permalink
misunderstood the problem; fixed;
Browse files Browse the repository at this point in the history
  • Loading branch information
gmn committed Aug 20, 2022
1 parent e72be5d commit 7cb54df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 4chget
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ do
next_line=''
fi

#echo "$line" | grep -q "http" || line='http:'$line
#echo "$next_line" | grep -q "http" || next_line='http:'$next_line
echo "$line" | grep -q "http" || line='http:'$line
echo "$next_line" | grep -q "http" || next_line='http:'$next_line

#pic=`echo $line | sed -r 's^http:\/\/'${IMAGE_HOST}'\/[a-z]+\/^^g'`
#next_pic=`echo $next_line | sed -r 's^http:\/\/'${IMAGE_HOST}'\/[a-z]+\/^^g'`
Expand All @@ -160,6 +160,9 @@ do
next_pic=`echo $next_line | sed -r 's^\/\/'${IMAGE_HOST2}'\/[a-z]+\/^^g'`
fi

pic=`echo $pic | sed -e 's/https://g' -e 's/http://g'`
next_pic=`echo $pic | sed -e 's/https://g' -e 's/http://g'`

if [ "$VERBOSE" ]; then
echo
echo "------------------------"
Expand Down

0 comments on commit 7cb54df

Please sign in to comment.