mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Merge branch 'staging' into slash-command-enums
This commit is contained in:
		@@ -185,7 +185,7 @@ class WebScraper {
 | 
			
		||||
        const files = [];
 | 
			
		||||
 | 
			
		||||
        for (const link of links) {
 | 
			
		||||
            const result = await fetch('/api/serpapi/visit', {
 | 
			
		||||
            const result = await fetch('/api/search/visit', {
 | 
			
		||||
                method: 'POST',
 | 
			
		||||
                headers: getRequestHeaders(),
 | 
			
		||||
                body: JSON.stringify({ url: link }),
 | 
			
		||||
@@ -547,7 +547,7 @@ class YouTubeScraper {
 | 
			
		||||
    async getScript(videoUrl, lang) {
 | 
			
		||||
        const id = this.parseId(String(videoUrl).trim());
 | 
			
		||||
 | 
			
		||||
        const result = await fetch('/api/serpapi/transcript', {
 | 
			
		||||
        const result = await fetch('/api/search/transcript', {
 | 
			
		||||
            method: 'POST',
 | 
			
		||||
            headers: getRequestHeaders(),
 | 
			
		||||
            body: JSON.stringify({ id, lang }),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user