3 ms·
Backend server's source code is now located at https://github.com/vednig/x-api https://github.com/vednig/x-api ,currently the script waits for complete page to
by vednig 2y ago
Backend server's source code is now located at https://github.com/vednig/x-api https://github.com/vednig/x-api ,currently the script waits for complete page to load and then extracts info to send out a response.
Since each new request takes high time and processing power, it was only logical to store responses and cache them for timely usage.
There's also a bit of a workaround required to get videos from X.com as they only load their direct URL when focused hence parsing html couldn't work, so I had to log network traffic to ensure I get their HLS links too.