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

Using global metadata for script cleaning #11

Open
Battleman opened this issue Jun 16, 2020 · 0 comments
Open

Using global metadata for script cleaning #11

Battleman opened this issue Jun 16, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Battleman
Copy link
Owner

Apparently, on the video page (after the pw is any), there is a JavaScript section dedicated to "global data", containing the title, the mp4 url and a lot of interesting stuff. Instead of wrangling with regex, this would be more convenient.

Problem is, this is within a <script> tag. There may be no simple way to interpret that with pure python (aka without BeautifulSoup).

Also, this is useful for #10, as the previous/current/next timestamps are all stored here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant