Steve Sewell 1 rok temu
rodzic
commit
f15d5dd112
2 zmienionych plików z 3991 dodań i 4 usunięć
  1. 4 4
      config.ts
  2. 3987 0
      github.json

+ 4 - 4
config.ts

@@ -7,9 +7,9 @@ type Config = {
 };
 
 export const config = {
-  url: "https://forum.builder.io",
-  match: "https://forum.builder.io/t/**",
-  selector: ".posts-wrapper",
+  url: "https://github.com/builderio/builder",
+  match: "https://github.com/BuilderIO/builder/tree/main/**",
+  selector: `#readme,[data-selector="repos-split-pane-content"]`,
   maxPagesToCrawl: 1000,
-  outputFileName: "forum.json",
+  outputFileName: "github.json",
 } satisfies Config;

Plik diff jest za duży
+ 3987 - 0
github.json