     return try document!.select("div[class='container'] div[class='row']")
   }
 
-  func getPagePath(path: String, page: Int=1) -> String {
+  func getPagePath(path: String, filter: String?=nil, page: Int=1) -> String {
     var newPath: String
 
     if page == 1 {

      var params = [String: String]()
      params["p"] = String(page)

      newPath = buildUrl(path: path, params: params as [String : AnyObject])
    }


  }

  public func getPopularMovies(page: Int=1) throws -> Items {
    return try getMovies(path: "/film/", filter: "3", page: page)
  }

  public func getPopularSeries(page: Int=1) throws -> Items {
    return try getSeries(path: "/serial/", filter: "3", page: page)
  }

  public func getMovies(path: String, type: String="movie", selector: String="film-list", filter: String?=nil, page: Int=1) throws -> Items {
    var data = [Any]()
    var paginationData: Items = [:]

    let pagePath = getPagePath(path: path, filter: filter, page: page)

    let document = try fetchDocument(URL + pagePath)

