6,043
questions
0
votes
0
answers
41
views
jsoup converting '&' to '&' when I set the Element
I am trying to parse an html input using jsoup (v1.18.1), extract elements, extract each attribute value and replace as follows:
> with >
< with <
The method I'm feeding this code ...
-1
votes
0
answers
52
views
unable to fetch files from a folder in a remote server, though I pass valid api keys. No error msg, just blank screen [closed]
I want to list all the files in img folder in my website. Though I pass valid api keys, no error msg. blank screen
<?php
$url = "http://www.abc.in/xyz/img/";
$base = "http://www.abc....
1
vote
0
answers
31
views
How to extract URL from HTML response in Android?
I have @GET endpoint in response to which I receive an html code with URLs. I need to reach the URL that comes after 200 code. Do you have any idea how to do it in Android?
I already tried to use the ...
0
votes
0
answers
21
views
PHP Simple HTML DOM Parser not Returning Anything [duplicate]
I'm trying to use the PHP Simple HTML DOM Parser for the first time from here - https://simplehtmldom.sourceforge.io/docs/1.9/index.html
Unfortunately, I'm having an issue where it's not returning ...
1
vote
1
answer
92
views
Getting a HTTP Response with nodriver
I'm using nodriver and it's not directly supporting network methods. But it does support for several CDP objects (network: https://ultrafunkamsterdam.github.io/nodriver/nodriver/cdp/network.html) and ...
-2
votes
1
answer
37
views
JavaScript for bookmarklet data extraction from an html monthly calendar schedule
I have a bookmarklet and JavaScript with which I am extracting data from an html table from a website.
For the most part the script works fine however it parses the date wrong. The date, in the HTML ...
0
votes
1
answer
49
views
Parse WhatsApp message read status [closed]
My question is more about html layout and parsing dynamic of content.
My task: parse contacts who read my particular message in the Group.
I tried to see DOM structure for the DIV block that hold that ...
0
votes
1
answer
51
views
Xml Parse code working fine at my end, does not work at client region over same Html
I have written Apps Script code for Html Parsing using XmlParse. It works fine at my end, my browser and system language both are English as well as my Google Account's. But when I shared the same ...
0
votes
1
answer
26
views
How to get the page content of the link in right-click context menu
everyone. I've never did JS coding before but I needed a certain extension that I couldn't find in the shop. So I've decided to make my own. Here is the logic: when you right-click the link you get ...
2
votes
1
answer
39
views
How to handle self-closing tags without end-slash in html.parser.HTMLParser
By default it seems that html.parser.HTMLParser cannot handle self closing tags correctly, if they are not terminated using /. E.g. it handles <img src="asfd"/> fine, but it ...
0
votes
0
answers
27
views
Br Tag does not produce line break
Code:
import 'package:html/parser.dart';
class HtmlUtil {
String? toPlainTxt(String htmlString) {
final document = parse(htmlString);
final parsedString = parse(document.body?.text)....
4
votes
1
answer
124
views
Treatment of superfluous closing tags depends on tag name
Unlike XHTML, HTML does not allow separate closing tags for empty-content elements like br and hr. The HTML validator gives an error
end tag for element "..." which is not open
in such ...
-1
votes
2
answers
25
views
code not running when webscraping weather data
I am trying to scrape earthquake weather data from USGS and my code runs up to the print(soup) line but nothing after that
import requests
from bs4 import BeautifulSoup
url="https://earthquake....
1
vote
1
answer
28
views
My Beautiful Soup library is not extracting out the all the anchor elements from a listed display
Hi so I am very new to web scraping and I am trying out the basics for it. Right now, I wanted to extract links from a root website (coventry.gov.uk). The problem was, however, I could not get the ...
0
votes
1
answer
39
views
Populating Spreadsheet(s) from email html table
I am not a programmer but I've been digging through the weeds to figure something out on my own and I'm stuck. I have a google spreadsheet with multiple sheets that I need to populate with content ...