Skip to main content

All Questions

Tagged with
0 votes
1 answer
75 views

Translating words between the Czech Language and English

I've proceeded with my project in Flask further. I want to translate words from slovnik.seznam.cz and store the translated words in links one after the other. Now I'm almost done but I'm not getting ...
user22758952's user avatar
0 votes
0 answers
42 views

Cant convert "application/x-www-form-urlencoded" to "application/json" JavaScript Flask

I'm trying to pull image from client(javascript) to sever(flask) but i got error while doing that. Even i tried to set 'Content-Type': 'application/json' but when i return the 'content_type' it gave ...
Nguyễn Đức Mạnh's user avatar
0 votes
1 answer
21 views

How to pass a json encoded variable from a python function to a in an html embetted js code in flask

I have this @app.route('/sensor', methods=['GET', 'POST']) def sensor(): output ='''<!DOCTYPE html><html lang="en"><head> <meta name="viewport" content=&...
Kevin Keller's user avatar
1 vote
1 answer
48 views

Trouble Extracting Complete Reviews and Ratings from Dynamic Pages

I want to scrape extract data from website: https://www.kununu.com/de/adidas/kommentare However, when i try to extract the entire HTML code via webdriver, some data is not extracted. The missing data ...
user23501892's user avatar
0 votes
1 answer
58 views

Unable to get JavaScript to parse JSON from html file

I am coding a word search game in django, and need to check whether the entered word is in a dictionary. I am currently converting a python dictionary using json.dump, passing it as context to the ...
Caden The Yak's user avatar
0 votes
1 answer
127 views

How to display variable JSON data from python in HTML

I've been working on a playlist manager for Spotify using their API. Right now I have a python script that gets the data from the API and returns a json file, but i would like to import the data into ...
Nick Thompson's user avatar
0 votes
1 answer
305 views

How do I display JSON data in HTML using Py-script and Pandas?

I'm working on this small project using JSON for the first time. This is also the first time I got back into programming in a while, so I'm a little rusty. Anyways, I've been trying to get Python to ...
billysgotsomequestions's user avatar
0 votes
1 answer
76 views

Parsing variable from HTML/JS to Python with Flask always returns None

I'm trying to parse a string variable, "articlename" to my main Flask Python script from HTML (with JS). However, all it returns is None. How can I fix this? HTML/JS: <p> &...
bodoed's user avatar
  • 5
0 votes
1 answer
117 views

Replace ASCII HTML characters when loading JSON

I'm loading a JSON file made up of yelp restaurant reviews so that it removes Unicode characters this way: def parse_yelp_restaurant_api(self, response): jsonresponse = json.loads(response....
Rodolfo's user avatar
  • 332
1 vote
2 answers
48 views

How do I format an HTML url that doesn't have formatting in Python

I am building a simple scraper that will go to a url, and pull the info from that page. I know, right? My issue is that when I pull the page info, it is not a traditional html with headers and ...
NatureRunes's user avatar
1 vote
1 answer
282 views

How can I display python scripts in Dash Tabs?

I have been trying to display several .py files in Dash. The goal is to have one tab per script. The scripts are too long to want to code them line per line and too long to want to just screen shot ...
kqd's user avatar
  • 97
0 votes
1 answer
46 views

style.css not working while using flask python

When I try to run my app.py which starts a local url to run my html file the style.css does not work. It was working before i connected my script.js to it. clearing cache does not seem to work my ...
George Chacko's user avatar
-4 votes
1 answer
563 views

converting Html to Json with Python

'I'm trying to find a way to convert HTML to JSON with Python, and I can't find a simple way, just ways to build it myself which does not make sense in huge HTML. can you help me? i tried use chat gpt ...
adamnitz's user avatar
-1 votes
1 answer
44 views

How to extract data from a precise JSON subnode in HTML

I am trying to extract product data (name, price, url) as well as which sizes and colours are available from the json formatted website (https://www.bergzeit.de/marken/salewa/). I cannot find a way ...
Vaidas's user avatar
  • 65
5 votes
3 answers
865 views

R/Python: Extracting Information from Google Maps

I am working with the R and Python languages. Suppose I search for the following Canadian Postal Code (M5V 3L9) on Google Maps: https://www.google.com/maps/place/Toronto,+ON+M5V+3L9/@43.642566,-79....
stats_noob's user avatar
  • 5,965

15 30 50 per page
1
2 3 4 5
26