YouTube-operational-API icon indicating copy to clipboard operation
YouTube-operational-API copied to clipboard

Make a Protobuf and HTML equivalent of `tools/getJSONPathFromKey.py`

Open Benjamin-Loison opened this issue 2 years ago • 2 comments

The aim is to retrieve HTML paths/ids to get the shortest one returning the value we are interested in.

Maybe a similar tool for #10 would be nice, concerning HTML I guess.

Note that I'm unsure if protobuf would make sense here (related to #190).

Benjamin-Loison avatar Jul 17 '23 12:07 Benjamin-Loison

My current JSON tool doesn't seem to work for JSON like:

[
    [
        [
            null,
            null,
            null,
            [],
            1690020801000000,
            "Ugy8lYuKIc3DzSzb03p4AaABAg",
            null,
            [
                "YouTube",
                null,
                "https://www.gstatic.com/images/branding/product/2x/youtube_24dp.png"
            ],
            null,
            [
                "Hello, your method looks promising however I don't want to trust the binary you make us download, could you redirect me to a documentation (if any) how you established such binaries from the official ones please ? Thank you in advance."
            ],
            null,
            null,
            [],
            null,
            null,
            null,
            null,
            null,
            null,
            [],
            [],
            null,
            null,
            [
                "https://i.ytimg.com/vi/Y-WN258JrHQ/mqdefault.jpg",
                "11:28",
                null,
                "https://www.youtube.com/watch?v=Y-WN258JrHQ"
            ],
            null,
            [],
            null,
            [],
            [
                [
                    26,
                    "YouTube"
                ]
            ],
            [],
            [],
            null,
            [
                [
                    "Commented on ",
                    "DD Win2022 EN to Oracle Cloud Free Tier VM in 30 Minutes",
                    null,
                    "https://www.youtube.com/watch?v=Y-WN258JrHQ&lc=Ugy8lYuKIc3DzSzb03p4AaABAg"
                ]
            ],
            null,
            [],
            []
        ],

Benjamin-Loison avatar Aug 22 '23 13:08 Benjamin-Loison

Related to #256.

Benjamin-Loison avatar Mar 29 '24 16:03 Benjamin-Loison