   end
 
   def fetch_and_parse(feed_url) do
-    case FeedFetcherWorker.fetch(feed_url) do
+    case FeedFetcher.fetch(feed_url) do
       {:ok, xml_body} ->
         case import_feed_url(xml_body) do
           {:error, _} ->

defmodule WhistlerNewsReader.FeedImporter do

  alias WhistlerNewsReader.FeedFetcherWorker
  alias WhistlerNewsReader.Feed
  alias WhistlerNewsReader.Subscription
  alias WhistlerNewsReader.Repo


  def import_site_url(xml_body) do
    with {:ok, feed_url}  <- FeedUrlExtractor.extract(xml_body),
         {:ok, xml_body}  <- FeedFetcher.fetch(feed_url),
         do: import_feed_url(xml_body)
  end

