Skip to content

a minor fix and storage optimization  #96

@isg32

Description

@isg32

#!/bin/sh

cd

sudo rm -fr /tmp/torrent-stream/*

query=$(printf '%s' "$*" | tr ' ' '-' )

movie=$(curl -s https://1337x.to/search/$query/1/ | grep -Eo "torrent/[0-9]{7}/[a-zA-Z0-9?%-]*/" | head -n 1)

magnet=$(curl -s https://1337x.to/$movie | grep -Po "magnet:?xt=urn:btih:[a-zA-Z0-9]*" | head -n 1)

peerflix $magnet -k

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions