feederer v0.5.9 Feederer.Parser

The actual Elixir <-> Python feedparser communication.

Summary

Functions

Parses a feed provided as a URL, a file path or a string

Functions

parse(feed, opts \\ %{})

Specs

parse(String.t, %{}) :: {:ok, String.t}

Parses a feed provided as a URL, a file path or a string.

parse(feed, arg1: arg1, arg2: arg2, …)

feed is the only mandatory argument. Other arguments can be the following:

  • etag
  • modified
  • agent
  • referrer
  • request_headers
  • response_headers

Their usage is documented in feedparser documentation: https://pythonhosted.org/feedparser/