Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Help #27

Open
jenozin opened this issue Aug 11, 2020 · 5 comments
Open

Help #27

jenozin opened this issue Aug 11, 2020 · 5 comments
Labels
question Further information is requested

Comments

@jenozin
Copy link

jenozin commented Aug 11, 2020

Hey, not an issue, just wanted to ask how do I access twist's content so I can download it? If I inspect the page I get the video URL is (for example) "https://twistcdn.bunny.sh/anime/onepiece/[HorribleSubs] One Piece - 011 [1080p].mp4"
But I can't access the video, I get 404 not found error.

Thanks

@phanirithvij
Copy link
Owner

They are preventing downloading video using the url so you need to provide cookies and headers to let their server think a browser is requesting the video. That's what I'm doing in my script

@phanirithvij
Copy link
Owner

In short you can only do this programmatically not possible via normal tools so can't watch the video because they want us watch in the website itself and prevent others from uploading the anime on other websites.
Good thing twist.moe doesn't have ads as it's run on donations.

@jenozin
Copy link
Author

jenozin commented Aug 12, 2020

They are preventing downloading video using the url so you need to provide cookies and headers to let their server think a browser is requesting the video. That's what I'm doing in my script

Ah! I'll try to figure out how to do that! Thanks

@jenozin
Copy link
Author

jenozin commented Aug 12, 2020

In short you can only do this programmatically not possible via normal tools so can't watch the video because they want us watch in the website itself and prevent others from uploading the anime on other websites.
Good thing twist.moe doesn't have ads as it's run on donations.

Yeah, makes sense. It is a great website, quality content. I was trying to get One Piece to watch during trips

@khalisafkari
Copy link

@jenozin You can add referrer in header

@phanirithvij phanirithvij added the question Further information is requested label Aug 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants