Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple one-liner to parse out the URL of the video file on BitShare.
window.location.href = document.getElementById("stream_player").innerHTML.split('clip:')[1].split('url:')[1].split("'")[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment