TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Online streaming sites and URL obfuscation

67 pointsby Jonhooover 9 years ago

7 comments

stabiloover 9 years ago
Is a shorter solution possible?<p>Is decompiling SWF and&#x2F;or de-obfuscating Javascript really necessary?<p>Years ago, I approached these sites like the author in the blog post. I spent hours reading about Flash and figuring out the schemes websites used. I decompiled swf. I also tried rtmpdump, livestreamer and other all-in-one solutions. I used early youtube downloaders (clive, etc) and later quvi. I also used &#x2F;dev&#x2F;bpf to capture HTTP requests. I tried it all.<p>I can relate to what the author is trying to do. I never settle for &quot;streaming&quot;. Download only.<p>However I found over the years either the websites have made things easier or I was simply trying too hard. Or maybe I just am not interested in the type of video that is served in this way. For some reason it takes much less effort now.<p>To make sure I am not imagining this, I decided to try one of the author&#x27;s examples.<p>I chose projectfreetv.so<p>1. I followed a link on the main page for some TV show I have never seen.<p>2. I read the HTML.<p>3. I noticed &#x2F;watch&#x2F;?aff_id= URL&#x27;s.<p>4. I chose the first one, 493165, and followed it.<p>5. I read the HTML.<p>6. I noticed a URL pointing to a website that serves TV shows and followed it.<p>7. I read the HTML.<p>8. I noticed a URL pointing to an MP4 file.<p>9. I downloaded the file.<p>I assume I got the TV episode on offer. The screen size is a little small but the file was about 89MB and appeared to be the full episode.<p>Total time: less than 10min<p>What did I use? sed, netcat, less and ftp for the download. The entire process is a one-liner.<p>If anyone has some more examples to try, please list them. I would welcome the challenge.
评论 #10150825 未加载
hackerboosover 9 years ago
rtmpdump [1] and livestreamer [2] are other good tools for this type of thing.<p>I&#x27;ve always had trouble trying to rip JWPlayer videos that sit behind a login. I did manage it but I had to stream (second-by-second) the entire video.<p>[1] - <a href="https:&#x2F;&#x2F;rtmpdump.mplayerhq.hu&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rtmpdump.mplayerhq.hu&#x2F;</a><p>[2] - <a href="http:&#x2F;&#x2F;docs.livestreamer.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;docs.livestreamer.io&#x2F;</a>
评论 #10150281 未加载
anseljhover 9 years ago
&quot;streaming freedom&quot; is a really clever euphemism.
tobltobsover 9 years ago
At the end he says something like &quot;We need Encrypted Media Extensions to get ad free streaming...&quot;. Hmm, never thought about that this way. Maybe he is right, but couldn&#x27;t it be that with EME the ads will not be sitting next to the player, instead the streamed video will contain the ads? Or does anybody believe (enough) people will pay for streaming on youtube or similar pages?
评论 #10150008 未加载
tlowover 9 years ago
For a long time I&#x27;ve used the by hand method of URL extraction either inspecting source code and searching for .flv or .mp4 filetypes (or simply &quot;file:*&quot;). The other method I use is the built in developer tools &quot;network&quot; tab of chrome under &quot;inspect element&quot;. So far, I&#x27;ve only encountered one host (sorry I cannot remember the name) which I wasn&#x27;t able to extract the source file via one of these two methods.
评论 #10150835 未加载
NickHaflingerover 9 years ago
How do you use streamsh?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jonhoo&#x2F;streamsh&#x2F;blob&#x2F;master&#x2F;tricks&#x2F;jwplayer.sh" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jonhoo&#x2F;streamsh&#x2F;blob&#x2F;master&#x2F;tricks&#x2F;jwplay...</a>
评论 #10149668 未加载
wodenokotoover 9 years ago
Many of these sites have started supporting iOS. Wouldn&#x27;t it be easier to spoof iOS Safari and then only have to dig around in JavaScript?