From e7057d0b24dc04d0332996e8ef2bfd46a0488452 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sun, 6 Apr 2025 20:44:44 -0700 Subject: [PATCH 1/5] Update tests --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 340d9a9..82a4307 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -358,7 +358,7 @@ jobs: # START Other Tests Job (SQLite 3 and mssql) other-tests: - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 strategy: matrix: include: From 029119ef3ac8ecae38c4bba67b511fda2f068ff7 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sun, 6 Apr 2025 20:44:58 -0700 Subject: [PATCH 2/5] Update pastebin --- collection/sites/pastebin.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 collection/sites/pastebin.yml diff --git a/collection/sites/pastebin.yml b/collection/sites/pastebin.yml new file mode 100644 index 0000000..44e2522 --- /dev/null +++ b/collection/sites/pastebin.yml @@ -0,0 +1,10 @@ +name: Pastebin +host: pastebin.com +example: https://pastebin.com/9jEf44nc +extract: "#pastebin\\.com/(?!u/)(?:\\w+(?:\\.php\\?i=|/))?(?'id'\\w+)#" +iframe: + scrolling: "yes" + width: "100%" + height: "300" + style: ["border:none;resize:vertical;width:100%"] + src: //pastebin.com/embed_iframe/{@id}?theme=dark From 6fbf6b30b95e39fb6a3b36a53fd54cb1641072c4 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 7 Apr 2025 07:27:52 -0700 Subject: [PATCH 3/5] Update collection/sites/pastebin.yml Co-authored-by: rxu --- collection/sites/pastebin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collection/sites/pastebin.yml b/collection/sites/pastebin.yml index 44e2522..b59a263 100644 --- a/collection/sites/pastebin.yml +++ b/collection/sites/pastebin.yml @@ -1,7 +1,7 @@ name: Pastebin host: pastebin.com example: https://pastebin.com/9jEf44nc -extract: "#pastebin\\.com/(?!u/)(?:\\w+(?:\\.php\\?i=|/))?(?'id'\\w+)#" +extract: "#pastebin\\.com/(?!u/)(?:\\w+(?:\\.php\\?i=|/))?(?'id'\\w+)(?'dark'\\?theme=dark)?#" iframe: scrolling: "yes" width: "100%" From 068eb0a87ef237eadc5480042192cd01f1cb2d4d Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 7 Apr 2025 07:28:02 -0700 Subject: [PATCH 4/5] Update collection/sites/pastebin.yml Co-authored-by: rxu --- collection/sites/pastebin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collection/sites/pastebin.yml b/collection/sites/pastebin.yml index b59a263..e6352ee 100644 --- a/collection/sites/pastebin.yml +++ b/collection/sites/pastebin.yml @@ -7,4 +7,4 @@ iframe: width: "100%" height: "300" style: ["border:none;resize:vertical;width:100%"] - src: //pastebin.com/embed_iframe/{@id}?theme=dark + src: //pastebin.com/embed_iframe/{@id}{@dark} From 64bd01ebba795071401870fa0d756e404b264d66 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 7 Apr 2025 07:32:33 -0700 Subject: [PATCH 5/5] Update examples --- collection/sites/pastebin.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/collection/sites/pastebin.yml b/collection/sites/pastebin.yml index e6352ee..1efb6f3 100644 --- a/collection/sites/pastebin.yml +++ b/collection/sites/pastebin.yml @@ -1,6 +1,8 @@ name: Pastebin host: pastebin.com -example: https://pastebin.com/9jEf44nc +example: + - "https://pastebin.com/9jEf44nc" + - "https://pastebin.com/9jEf44nc?theme=dark" extract: "#pastebin\\.com/(?!u/)(?:\\w+(?:\\.php\\?i=|/))?(?'id'\\w+)(?'dark'\\?theme=dark)?#" iframe: scrolling: "yes"