Skip to content

Commit

Permalink
copypasta fix scraping change
Browse files Browse the repository at this point in the history
  • Loading branch information
Supinic committed Oct 5, 2024
1 parent 5a3e879 commit bb322c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/copypasta/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const fetchCopypasta = async () => {
});

const $ = sb.Utils.cheerio(response.body);
const text = $(`div[id^="clipboard_copy_content"]`).text();
const text = $("span.-main-text").text();

if (typeof text === "string") {
return sb.Utils.removeHTML(text).trim();
Expand Down

0 comments on commit bb322c9

Please sign in to comment.