Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not published content yet #29

Open
hyzhak opened this issue Oct 21, 2017 · 0 comments
Open

not published content yet #29

hyzhak opened this issue Oct 21, 2017 · 0 comments

Comments

@hyzhak
Copy link
Member

hyzhak commented Oct 21, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant