Rollup support
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import Path from "path"
|
||||
import { createSource, createSourceOptions, downloadImages, fetchChannel, getPostIdFromPathname, isUnset } from "../lib.js"
|
||||
|
||||
// TODO:
|
||||
// Pulling images from cache fails because their images were never added to the annotations
|
||||
|
||||
class BlueskyError extends Error {}
|
||||
|
||||
let bluesky = {}
|
||||
@@ -57,7 +60,7 @@ bluesky.login = async (handle, password, domain = 'bsky.social') => {
|
||||
}
|
||||
|
||||
const getPostUriChunks = channel => {
|
||||
let guids = channel.querySelectorAll('guid')
|
||||
let guids = channel.querySelectorAll('item > guid')
|
||||
let storedUris = new Set()
|
||||
let chunks = []
|
||||
let uris = []
|
||||
|
||||
Reference in New Issue
Block a user