Advertisement
Guest User

jav

a guest
Mar 24th, 2021
607
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. jav_name() {
  4.   if [ -z "$1" ]; then
  5.     read name
  6.   else
  7.     name="$1"
  8.   fi
  9.   echo $name
  10. }
  11.  
  12. jav_url () {
  13.   name="$(jav_name $1)"
  14.   links="$(curl -s "$(curl -s "https://www2.javhdporn.net/video/$name/" | grep "embedURL" | grep -o "{.*}" | jq '.["@graph"]' | jq -r '.[].embedURL' | sed '/^null$/d' | sed 's/\/v\//\/api\/source\//')" --data-raw 'r=&d=javmvp.com' | jq -r '.data[] | select(.label | contains("720p", "480p","360p")).file' | tail -n1)"
  15.  echo "$links"
  16. }
  17.  
  18. mpv "$(jav_url $1)"
  19.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement