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: diff --git a/collection/sites/pastebin.yml b/collection/sites/pastebin.yml new file mode 100644 index 0000000..1efb6f3 --- /dev/null +++ b/collection/sites/pastebin.yml @@ -0,0 +1,12 @@ +name: Pastebin +host: pastebin.com +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" + width: "100%" + height: "300" + style: ["border:none;resize:vertical;width:100%"] + src: //pastebin.com/embed_iframe/{@id}{@dark}