#include "torlinkc/sources/fitgirl.hpp"

#include "torlinkc/sources/rss.hpp"

namespace torlinkc {

namespace {
const char* kHome = "https://fitgirl-repacks.site";
}

Source fitgirlSource() {
  Source s;
  s.id = "fitgirl";
  s.label = "FitGirl";
  s.groups = {SourceGroup::Games};
  s.homepage = kHome;
  // WordPress RSS carries no swarm data; every result reports seeders: 0.
  s.reportsHealth = false;
  s.search = [](const std::string& query, const SearchOptions& opts) {
    return fetchWordpressRss(kHome, "fitgirl", query, opts);
  };
  return s;
}

}  // namespace torlinkc
