Joe24424 / Psychological-States

0 stars 0 forks source link

Creating a parser #6

Open Joe24424 opened 6 years ago

Joe24424 commented 6 years ago

I need a parser that can take child tags (shown how to do in beautiful soup4 documentation), and capture new tags in a live environment (I need to find out how to do this). I also need a parser that will capture live video, which probably needs some form of software, since it is being streamed, and isn't held anywhere. Then I need to figure out how to make the programs run so that the timestamps are accurate. Then I need to figure out how to make this data usable in tensorflow. I also wanted to run video dataset alongside text data after weighting the expressions emotion.

Joe24424 commented 6 years ago

https://notehub.org/8ncql an example of a video streaming manipulation software that works only on http file format (So security features stop you from parsing video streams perhaps), it must be possible since you are receiving the stream data, to be able to download it.

Joe24424 commented 6 years ago

Video grabby finds a streamed video within html Problem is I can't timestamp with a recording app unless I somehow take the time in the video, and just timestamp the text to the recording. If I did this then calling grabby every time a particular actress starts up would be an acceptable way of getting video for the url. Another problem is I don't know if the url changes over time

Joe24424 commented 6 years ago

So Im thinking fish for url being opened (assuming cam girls have one unique url which is constant) (if I can find out how to do this) call grabby, input url into grabby, grabby downloads video. Call Beautiful Soup parser, parser processes chat, timestamps new tags appearing (again I need to figure out how to do this). This is all fitting with overview if I can figure out how to do it!

Joe24424 commented 6 years ago

Video grabber is interacting with subprograms to download the video. Studying Linux system is probably completely pointless.

Joe24424 commented 6 years ago

Video grabber is interacting with subprograms to download the video. Studying Linux system is probably completely pointless.

Joe24424 commented 6 years ago

https://www.techwalla.com/articles/how-to-download-a-video-through-its-source-address

Joe24424 commented 6 years ago

There is a link to the cloud audio stream for radio streaming need to find out how to call this link

Joe24424 commented 6 years ago

http://pornhublive.com/blacklabel/bl.client.min.js

Joe24424 commented 6 years ago

I'm really clueless, but maybe this document is a runtime of whats happening in the session, and if "streamstarted" is referring to server side, and not me accessing the stream, then that is fabulous. If I can use BeautifulSoup4 to parse for streamstarted, and whatever the streamfinished condition is, then I would still need a video source. SMBL client is possibly the streaming client they are using.

Joe24424 commented 6 years ago

https://pornhublive.com/bio.php?lp=inline&smid=12177088&hc=1&v=4.11.0&xment=none

Joe24424 commented 6 years ago

/blacklabel/hybrid/?name=JadeRaiin&lang=en&version=4.11.0&xment=none&lp=blacklabel&manifestUrlRoot=https://sea1c-ls.naiadsystems.com/sea1c-edge-ls/80/live/s Maybe this is good. Reads "can-not get live" presumably because the person isn't streaming right now.

Joe24424 commented 6 years ago

I need to read urllib and Beautifulsoup doccumentation. What I am trying to do is find the source of the video stream only. I don't even know how to download that streamed video, and this is taking so long. I still haven't even begun working on the creation of a mesh or fussing out how to make that shit work. So I need to research the conversion of stream data (what I am assuming the link gives), to a video, then I can use the video with the chat timestamped etc etc. But since researching is exhausting I should probably just go into BeautifulSoup4 and urllibrequest doccumentation and see if I can learn anything, so when it comes to writing the parser I am not in the position of a young infant.

Joe24424 commented 6 years ago

So the stream is called, and then again I need a program to read this, I could probably create my own record a box of html program.Since it gives a frame size of the video, you really just need a screen record on that box for the entire time the stream is running, and hope for no lag spikes.

Joe24424 commented 6 years ago

so when the person goes back to streaming I will be ready to see if that is the data source, and then find out what I need to do with it. For now I should probably just try to figure out how to animate face from point cluster movements.