Skip to content

Commit

Permalink
use title for user sites
Browse files Browse the repository at this point in the history
  • Loading branch information
wtchangdm committed Nov 8, 2024
1 parent 3a50c14 commit bb666b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processUsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ puppeteer
layoutBackgroundHeaderSpace: false\n\
\r---\n";

var dir = usersFolderPath + users[i].title.replaceAll("/", "-");
var dir = usersFolderPath + users[i].url.split("//").at(1).replaceAll('/', '');

if (!fs.existsSync(dir)) {
fs.mkdirSync(dir);
Expand Down

0 comments on commit bb666b5

Please sign in to comment.