Skip to content

Commit

Permalink
fix bluesky fullsize image regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Yay295 committed Oct 27, 2024
1 parent 9a640d8 commit f8796e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/philomena_proxy/scrapers/bluesky.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule PhilomenaProxy.Scrapers.Bluesky do
@behaviour Scraper

@url_regex ~r|https://bsky\.app/profile/([^/]+)/post/([^/?#]+)|
@fullsize_image_regex ~r|/img/feed_fullsize/plain/([^/]+)/([^@]+)|
@fullsize_image_regex ~r|.*/img/feed_fullsize/plain/([^/]+)/([^@]+).*|
@blob_image_url_pattern "https://bsky.social/xrpc/com.atproto.sync.getBlob/?did=\\1&cid=\\2"

@spec can_handle?(URI.t(), String.t()) :: boolean()
Expand Down

0 comments on commit f8796e3

Please sign in to comment.