Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
25 views

Replace img tag with in-line SVG with BeautifulSoup

I have an HTML file produced by pandoc, where SVG illustrations have been embedded. The SVG content is encoded in base64 and included in the src attribute of img elements. It looks like this: <...
mrgou's user avatar
  • 2,134
0 votes
0 answers
16 views

ERROR: root: Error fetching patient details: PatientView.html

I'm trying to create a simple webpage using Flask. I have written code to fetch data from a MySQL database, but the code is not working, and I keep getting the error: Error: root: Error fetching ...
Krish Khadka's user avatar
0 votes
1 answer
28 views

Why can't Selenium find the element I specified in my code even though it's in the HTML?

I'm learning how to automate navigating through a website using Selenium on Python 3.9.2 using ChromeDriver and I'm stuck at the login page of GitHub, which is the website I'm practicing with. This is ...
jacob malu's user avatar
-2 votes
0 answers
19 views

Selection an option from a div.cl-search-dropdown menu

I'm writing a script that uses Selenium. I want to enter a zipcode into a search bar, and then select the first option that pops up from the dropdown menu, but I'm unable to figure out how, as it ...
Ighenvex's user avatar
-2 votes
0 answers
31 views

Why the python and HTML is not connecting? [closed]

I tried to connect HTML and python file, but i got error 405 HTML: <!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8" /> <meta name="...
user547259's user avatar
1 vote
2 answers
49 views

How to select a specific child tag from a parent tag and scrape data from it?

There exist several of these <div> tags where class="b-card" in the HTML file which which I extracted the following HTML code: <div class="b-card"> <div ...
Nol A.'s user avatar
  • 33
0 votes
0 answers
13 views

wkhtmltopdf with pdfkit: PDF blank when referencing local CSS file

I'm experiencing an issue when using wkhtmltopdf with pdfkit to convert an HTML file to PDF. The HTML file references a local CSS file for styling. When I remove the CSS reference, the PDF is ...
Hongju Seong's user avatar
3 votes
2 answers
58 views

Extracting table nested within div of HTML

I am trying to extract some machine data from one of our servers. Server gives me file format HTML, end goal is to extract the table data and export to CSV to work with further. I am having a ...
CommonEngineer's user avatar
-3 votes
1 answer
33 views

Invalid block tag on line 1: 'include'. Did you forget to register or load this tag? [closed]

During a Django tutorial I've got an issue with the index.html file. I can't handle this exception: Invalid block tag on line 3: 'include'. Did you forget to register or load this tag? I really don'...
tapok's user avatar
  • 1
0 votes
1 answer
29 views

page-break not working on headings ( python, weasyprint )

I want to create a pdf out of html content. I use beautifulsoup to get html string and then create PDF using weasyprint and python out of it. I have issue when i want to show headings ( specifically ...
Puzzleshock's user avatar
-1 votes
0 answers
19 views

Datalist "placeholder" not sent with form submission

I have a Python app that is updating a SQL database. One form (using Jinja) provides a datalist input that contains the current value (from the db) as the "placeholder" <input list="...
Dan'l's user avatar
  • 1
0 votes
0 answers
27 views

Converting HTML to PDF using selenium causes bookmarks to break

I am using selenium in Python to try and convert HTML files to PDF. Everything converts perfectly except bookmark links. The issue is consistent for all HTML files I've tried, and the exact issue is ...
Tjtorin's user avatar
  • 99
0 votes
1 answer
68 views

For loop not appending array with regex

The following code fetches version numbers from a URL, and then for each version number, goes to a page for that version number and fills an array with a specific pattern for a filename. The resulting ...
megalamehaxxor's user avatar
-4 votes
0 answers
39 views

Scraping image Challenge [closed]

I FAILED scraping PROFILE PICTURE FROM THIS WEBSITE: https://www.football.org.il/en/players/player/?player_id=113625 The pictures are being saved not as .png but as unusual "ImageServer/GetImage....
Eesh Gadol's user avatar
0 votes
2 answers
47 views

Banner is not displaying at the top and css is not working

I have html like following, in my Django project <!DOCTYPE html> {% load static %} <html lang="en"> <head> <meta charset="UTF-8"> <meta name=&...
Karan's user avatar
  • 794

15 30 50 per page
1
2 3 4 5
1881