diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 95bfdd6..340d9a9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -362,20 +362,20 @@ jobs: strategy: matrix: include: - - php: '7.2' + - php: '7.3' db: "sqlite3" - - php: '7.2' + - php: '7.3' db: "mcr.microsoft.com/mssql/server:2017-latest" db_alias: 'MSSQL 2017' - - php: '7.2' - db: "mcr.microsoft.com/mssql/server:2019-latest" + - php: '7.3' + db: "mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04" db_alias: 'MSSQL 2019' name: PHP ${{ matrix.php }} - ${{ matrix.db_alias != '' && matrix.db_alias || matrix.db }} services: mssql: - image: ${{ matrix.db != 'mcr.microsoft.com/mssql/server:2017-latest' && matrix.db != 'mcr.microsoft.com/mssql/server:2019-latest' && 'mcr.microsoft.com/mssql/server:2017-latest' || matrix.db }} + image: ${{ matrix.db != 'mcr.microsoft.com/mssql/server:2017-latest' && matrix.db != 'mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04' && 'mcr.microsoft.com/mssql/server:2017-latest' || matrix.db }} env: SA_PASSWORD: "Pssw0rd_12" ACCEPT_EULA: "y" @@ -415,7 +415,7 @@ jobs: env: MATRIX_DB: ${{ matrix.db }} run: | - if [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2017-latest' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2019-latest' ] + if [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2017-latest' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04' ] then db='mssql' else diff --git a/collection/sites/bluesky.yml b/collection/sites/bluesky.yml new file mode 100644 index 0000000..2fbed75 --- /dev/null +++ b/collection/sites/bluesky.yml @@ -0,0 +1,25 @@ +attributes: + embedder: + filterChain: [] + required: true + url: + filterChain: "urldecode" + required: true +example: + - "https://bsky.app/profile/bsky.app/post/3kkrqzuydho2v" + - "https://bsky.app/profile/bnewbold.net/post/3kxjq2auebs2f" +extract: "#^https://(?'embedder'[.\\w]+)/oembed.*?url=(?'url'[\\w%.]+)#" +homepage: "https://bsky.app/" +host: "bsky.app" +iframe: + data-s9e-livepreview-ignore-attrs: style + height: 600 + onload: "let c=new MessageChannel;c.port1.onmessage=e=>this.style.height=e.data+'px';this.contentWindow.postMessage('s9e:init','*',[c.port2])" + src: "https://s9e.github.io/iframe/2/bluesky.min.html##" + width: 600 +name: "Bluesky" +scrape: + extract: "#https://(?'embedder'[.\\w]+)/oembed.*?url=(?'url'[\\w%.]+)#" + match: "#/profile/[^/]+/post/.#" +source: "https://embed.bsky.app/" +tags: "social"