delete benchmarks in anger

pull/1/head
Drake 1 year ago
parent 4aac4e9be8
commit c4bb5cc152

@ -1,17 +0,0 @@
import Wattpad from "../mod.ts";
const wp = new Wattpad();
const search = wp.search({
query: "bendy x reader",
});
await search.update(0);
await search.results[0].init();
console.log(search.results[0].name);
/*await search.results[0].chapters[0].init();
console.log(search.results[0].chapters[0].text);*/

@ -1,10 +0,0 @@
from wattpad_scraper import Wattpad
import os
watt = Wattpad()
books = watt.search_books("bendy x reader")
print(books[0].title)
#print(books[0].chapters[0].content)
os.system("rm -rf temp_catch_delete_if_not_needed")

@ -42,7 +42,7 @@ export default class Chapter {
this.html = html;
// pseudo-parse html to markdown with regex
// "parse" html to markdown with regex
this.text = html
.replaceAll(
/<p( data-p-id=".{32}")?( style="(text-align):(left|right|center);")?>/g,

Loading…
Cancel
Save