Fix Web Artículos
This commit is contained in:
@@ -410,7 +410,8 @@ namespace ChatbotApi.Controllers
|
||||
{
|
||||
var web = new HtmlWeb();
|
||||
var doc = await web.LoadFromWebAsync(url);
|
||||
var articleNodes = doc.DocumentNode.SelectNodes("//article[contains(@class, 'item')]");
|
||||
//var articleNodes = doc.DocumentNode.SelectNodes("//article[contains(@class, 'item')]");
|
||||
var articleNodes = doc.DocumentNode.SelectNodes("//article[contains(@class, 'item')] | //article[contains(@class, 'nota_modulo')]");
|
||||
|
||||
if (articleNodes == null) return newsList;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import Chatbot from './components/Chatbot';
|
||||
import './App.css';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { StrictMode } from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import './index.css'
|
||||
import App from './App.tsx'
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
|
||||
Reference in New Issue
Block a user