Skip to content

not published content yet #29

@hyzhak

Description

@hyzhak

cases:

  • got response from bbc:
{
  "title": "Stars Colliding",
  "title_detail": {
    "type": "text/plain",
    "language": null,
    "base": "http://podcasts.files.bbci.co.uk/p016tmt2.rss",
    "value": "Stars Colliding"
  },
  "summary": "...",
  "summary_detail": {
    "type": "text/html",
    "language": null,
    "base": "http://podcasts.files.bbci.co.uk/p016tmt2.rss",
    "value": "..."
  },
  "subtitle": "Detecting a \\u2018Bling Nova\\u2019",
  "subtitle_detail": {
    "type": "text/plain",
    "language": null,
    "base": "http://podcasts.files.bbci.co.uk/p016tmt2.rss",
    "value": "Detecting a \\u2018Bling Nova\\u2019"
  },
  "content": [
    {
      "type": "text/plain",
      "language": null,
      "base": "http://podcasts.files.bbci.co.uk/p016tmt2.rss",
      "value": "..."
    }
  ],
  "published": "Sat, 21 Oct 2017 12:00:00 +0000",
  "published_parsed": [
    2017,
    10,
    21,
    12,
    0,
    0,
    5,
    294,
    0
  ],
  "itunes_duration": "3006",
  "links": [
    {
      "length": "24048000",
      "type": "audio/mpeg",
      "href": "http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download-low/proto/http/vpid/p05khpkn.mp3",
      "rel": "enclosure"
    },
    {
      "rel": "alternate",
      "type": "text/html",
      "href": "http://www.bbc.co.uk/programmes/w3csv1ff"
    }
  ],
  "ppg_enclosurelegacy": {
    "url": "http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download-low/proto/http/vpid/p05khpkn.mp3",
    "length": "24048000",
    "type": "audio/mpeg"
  },
  "ppg_enclosuresecure": {
    "url": "https://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download-low/proto/https/vpid/p05khpkn.mp3",
    "length": "24048000",
    "type": "audio/mpeg"
  },
  "id": "urn:bbc:podcast:w3csv1ff",
  "guidislink": false,
  "link": "http://www.bbc.co.uk/programmes/w3csv1ff",
  "itunes_explicit": false,
  "media_content": [
    {
      "url": "http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download-low/proto/http/vpid/p05khpkn.mp3",
      "filesize": "24048000",
      "type": "audio/mpeg",
      "medium": "audio",
      "expression": "full",
      "duration": "3006"
    }
  ],
  "authors": [
    {
      "name": "BBC World Service"
    }
  ],
  "author": "BBC World Service",
  "author_detail": {
    "name": "BBC World Service"
  },
  "ppg_canonical": "/programmes/w3csv1ff"
}

but

>>> datetime.now(timezone.utc)
datetime.datetime(2017, 10, 21, 23, 39, 15, 275722, tzinfo=datetime.timezone.utc)

so maybe 12:00:00 +0000 doesn't mean anything

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions