Skip to content

Commit

Permalink
choke: shmt
Browse files Browse the repository at this point in the history
  • Loading branch information
justchokingaround committed Nov 8, 2023
1 parent b35bd4f commit f405fb5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lobster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -330,20 +330,20 @@ EOF
encrypted=$(printf "%s" "$json_data" | tr "{}" "\n" | $sed -nE "s_.*\"${json_key}\":\"([^\"]*)\".*_\1_p")

claude_key=$(curl -s "https://github.com/Claudemirovsky/keys/blob/e${embed_type}/key" | $sed -nE "s@.*rawLines\":\[\"([^\"]*)\".*@\1@p" |
tr -d ' ' | $sed "s/],/ /g;s/\[//g;s/\]//g")
current_sum=0
eni_array=$(for pair in $claude_key; do
first_term=$(printf "%s" "$pair" | cut -d, -f1)
second_term=$(printf "%s" "$pair" | cut -d, -f2)
tr -d ' ' | $sed "s/],/ /g;s/\[//g;s/\]//g")
current_sum=0
eni_array=$(for pair in $claude_key; do
first_term=$(printf "%s" "$pair" | cut -d, -f1)
second_term=$(printf "%s" "$pair" | cut -d, -f2)
first_term=$((first_term + current_sum))
current_sum=$((current_sum + second_term))
second_term=$((first_term + second_term))
first_term=$((first_term + current_sum))
current_sum=$((current_sum + second_term))
second_term=$((first_term + second_term))
printf "[%s,%s]" "$first_term" "$second_term"
done)
printf "[%s,%s]" "$first_term" "$second_term"
done)

enikey=$(printf "[%s]" "$eni_array" | $sed "s/\]\[/\],\[/g" | $sed 's/\[\([0-9]*\),\([0-9]*\)\]/\1-\2/g;s/\[//g;s/\]//g;s/,/ /g')
enikey=$(printf "[%s]" "$eni_array" | $sed "s/\]\[/\],\[/g" | $sed 's/\[\([0-9]*\),\([0-9]*\)\]/\1-\2/g;s/\[//g;s/\]//g;s/,/ /g')
encrypted_video_link=$(printf "%s" "$json_data" | tr "{|}" "\n" | $sed -nE "s_.*\"sources\":\"([^\"]*)\".*_\1_p" | head -1)

final_key=""
Expand Down

0 comments on commit f405fb5

Please sign in to comment.