Skip to content
This repository has been archived by the owner on Jul 17, 2021. It is now read-only.

how to find the prefix url you posted ? that's amazing #1

Closed
qianguozheng opened this issue Aug 31, 2018 · 3 comments
Closed

how to find the prefix url you posted ? that's amazing #1

qianguozheng opened this issue Aug 31, 2018 · 3 comments

Comments

@qianguozheng
Copy link

Thanks for you sharing.

I analyze the twitter website and see the http request the firefox send, but I how to get the video url , I don't know how to compose it. I think that maybe I need it's developer account of twitter, but during requesting, I found your git.

I want to know how to find this url .
thanks in advance.

@qianguozheng
Copy link
Author

Looks it doesn't work now.

Request https://twitter.com/i/videos/tweet/1035056498307522560 got below html. not the actual video m3u8 or real mp4,ts such as.

  <!DOCTYPE html>
<html>
<head>
  <style>
    body, html {
      margin: 0;
      padding: 0;
    }

    #video {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
    }
  </style>
</head>
<body>
  <div id="video"></div>
    <script src="https://abs.twimg.com/web-video-player/TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js"></script>
</body>
</html>

@qianguozheng
Copy link
Author

Soloved by another rule

@h4ckninja
Copy link
Owner

I've updated the code to account for these changes. :)

h4ckninja added a commit that referenced this issue Sep 7, 2019
…intain it better. #1 is not yet resolved, but it fails gracefully when the condition is reached. See the README for more.
h4ckninja added a commit that referenced this issue Sep 7, 2019
…e added condition check for graceful exit.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants