Skip to content

Commit

Permalink
Merge pull request #388 from mvdicarlo/develop
Browse files Browse the repository at this point in the history
v3.1.52
  • Loading branch information
mvdicarlo authored Dec 3, 2024
2 parents d104112 + a68563c commit 6c3b625
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion electron-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postybirb-plus",
"version": "3.1.51",
"version": "3.1.52",
"description": "(ClientServer) PostyBirb is an application that helps artists post art and other multimedia to multiple websites more quickly.",
"main": "dist/main.js",
"author": "Michael DiCarlo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ export class SubscribeStarAdult extends Website {
async function getInfo() {
var csrf = document.body.parentElement.innerHTML.match(/<meta name="csrf-token" content="(.*?)"/)[1].trim();
var cookies = (await cookieStore.getAll()).reduce((a, b) => \`$\{a\} $\{b.name\}=$\{b.value\};\`, '').trim();
var postKey = document.body.parentElement.innerHTML.replace(/\&quot;/g, '"').match(/data-s3-upload-path=\\"(.*?)\\"/)[1].trim();
var bucket = document.body.parentElement.innerHTML.replace(/\&quot;/g, '"').match(/data-s3-bucket="(.*?)"/)[1].trim();
var postKey = document.getElementsByClassName('new_post')[0].innerHTML.replace(/&quot;/g, '"').match(/data-s3-upload-path=\\\\"(.*?)\\\\"/)[1].trim();
var bucket = document.getElementsByClassName('new_post')[0].innerHTML.replace(/&quot;/g, '"').match(/data-s3-bucket=\\\\"(.*?)\\\\"/)[1].trim();
var out = { csrf, cookies, postKey, bucket }
return out;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ export class SubscribeStar extends Website {
async function getInfo() {
var csrf = document.body.parentElement.innerHTML.match(/<meta name="csrf-token" content="(.*?)"/)[1].trim();
var cookies = (await cookieStore.getAll()).reduce((a, b) => \`$\{a\} $\{b.name\}=$\{b.value\};\`, '').trim();
var postKey = document.body.parentElement.innerHTML.replace(/\&quot;/g, '"').match(/data-s3-upload-path=\\"(.*?)\\"/)[1].trim();
var bucket = document.body.parentElement.innerHTML.replace(/\&quot;/g, '"').match(/data-s3-bucket="(.*?)"/)[1].trim();
var postKey = document.getElementsByClassName('new_post')[0].innerHTML.replace(/&quot;/g, '"').match(/data-s3-upload-path=\\\\"(.*?)\\\\"/)[1].trim();
var bucket = document.getElementsByClassName('new_post')[0].innerHTML.replace(/&quot;/g, '"').match(/data-s3-bucket=\\\\"(.*?)\\\\"/)[1].trim();
var out = { csrf, cookies, postKey, bucket }
return out;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postybirb-plus",
"version": "3.1.51",
"version": "3.1.52",
"description": "PostyBirb is an application that helps artists post art and other multimedia to multiple websites more quickly..",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postybirb-plus-ui",
"version": "3.1.51",
"version": "3.1.52",
"license": "BSD-3-Clause",
"private": true,
"Author": "Michael DiCarlo",
Expand Down

0 comments on commit 6c3b625

Please sign in to comment.