Skip to content

Commit d2ebb43

Browse files
authored
Merge pull request #110 from iMattPro/updates
Update Pastebin
2 parents 1386ae4 + 64bd01e commit d2ebb43

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ jobs:
358358

359359
# START Other Tests Job (SQLite 3 and mssql)
360360
other-tests:
361-
runs-on: ubuntu-22.04
361+
runs-on: ubuntu-20.04
362362
strategy:
363363
matrix:
364364
include:

collection/sites/pastebin.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Pastebin
2+
host: pastebin.com
3+
example:
4+
- "https://pastebin.com/9jEf44nc"
5+
- "https://pastebin.com/9jEf44nc?theme=dark"
6+
extract: "#pastebin\\.com/(?!u/)(?:\\w+(?:\\.php\\?i=|/))?(?'id'\\w+)(?'dark'\\?theme=dark)?#"
7+
iframe:
8+
scrolling: "yes"
9+
width: "100%"
10+
height: "300"
11+
style: ["border:none;resize:vertical;width:100%"]
12+
src: //pastebin.com/embed_iframe/{@id}{@dark}

0 commit comments

Comments
 (0)