Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Sync HLS type #8

Description

@techcoderx

Recursively download files into directories which are type hls, based on DAG-JSON response from IPFS gateway.

Example gateway call:

$ curl https://video.oneloveipfs.com/ipfs/QmTDsAJ9S8tA6rPigRR6rnmcXg8TVm7XmgJJ5FJT8NWEab?format=dag-json | jq
{
  "Data": {
    "/": {
      "bytes": "CAE"
    }
  },
  "Links": [
    {
      "Hash": {
        "/": "QmYWtbC6eYXsUXSMdVxdJAUssncSbRnBxQwCWn1yGcxwhV"
      },
      "Name": "1080p",
      "Tsize": 97011821
    },
    {
      "Hash": {
        "/": "QmT8uCEBmpkbgdm3ZearYz4QwW3nTp6NxJVaVcZUQMG3R9"
      },
      "Name": "480p",
      "Tsize": 26350911
    },
    {
      "Hash": {
        "/": "QmdYhCYgWQyyyTXrrAXAhvLMSWk7aqCuoDDNzuigc26cYb"
      },
      "Name": "720p",
      "Tsize": 43316763
    },
    {
      "Hash": {
        "/": "Qmaurg4Vo2F4eAJb5LPU9PZ5HjwiQVLB2MaX2gXtWRqpU5"
      },
      "Name": "manifest.m3u8",
      "Tsize": 337
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions