rasa/scoop-directory

Rework fields to be crawl-scoop-directory compatible

Opened this issue · 0 comments

rasa commented

Per https://github.com/zhoujin7/crawl-scoop-directory/blob/e9528768998dfe13886df51c86fa215c31835643/scoop_directory_crawler.py#L15 :

CREATE TABLE "app" (
  "id" INTEGER,
  "name" TEXT,
  "version" TEXT,
  "description" TEXT,
  "license" TEXT,
  "bucket_repo" TEXT
);
DROP TABLE IF EXISTS "bucket";
CREATE TABLE "bucket" (
  "score" real,
  "bucket_repo" TEXT NOT NULL,
  "apps" integer,
  "stars" integer,
  "forks" integer,
  "updated" text,
  PRIMARY KEY ("bucket_repo")
);