this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add support for witchsky.app in config and update regex in Bluesky scraper

+7 -2
+5
config.js
··· 62 62 pattern: /^https:\/\/(?:www\.)?sky\.thebull\.app\// 63 63 }, 64 64 { 65 + name: 'Bluesky', 66 + domain: 'witchsky.app', 67 + pattern: /^https:\/\/(?:www\.)?witchsky\.app\// 68 + }, 69 + { 65 70 name: 'e621', 66 71 domain: 'e621.net', 67 72 pattern: /^https:\/\/(?:www\.)?e621\.net\//
+2 -2
scrapers/blueskyScraper.js
··· 11 11 super(); 12 12 // Initialize with service endpoint only - no authentication needed for public posts 13 13 this.serviceEndpoint = config.bluesky.service || 'https://bsky.social'; 14 - // Update regex to support bsky.app, deer.social, and sky.thebull.app 14 + // Update regex to support bsky.app, deer.social, sky.thebull.app, and witchsky.app 15 15 // Also properly handle DIDs in the URL path 16 - this.matcher = new RegExp('(?:https?://)?(?:bsky\\.app|deer\\.social|sky\\.thebull\\.app)/profile/(?<repo>[^/]+(?:/[^/]+)?)/post/(?<rkey>[^/]+)'); 16 + this.matcher = new RegExp('(?:https?://)?(?:bsky\\.app|deer\\.social|sky\\.thebull\\.app|witchsky\\.app)/profile/(?<repo>[^/]+(?:/[^/]+)?)/post/(?<rkey>[^/]+)'); 17 17 18 18 // Initialize the agent 19 19 this.agent = new BskyAgent({ service: this.serviceEndpoint });