All Questions
Tagged with python javascript
18,383
questions
0
votes
0
answers
38
views
Set cookies, how do httponly and secure function
I am trying to understand what the cookie settings httponly and secure actually do. The top answer on Google says:
Secure - This flag ensures that cookies can only be transmitted over HTTPS ...
-3
votes
0
answers
48
views
How do I download CSV files with URLs starting with "blob"? [closed]
I am trying to automate the download of the csv files located on this page https://indexdata.six-group.com/swiss_reference_rates/other_terms.html (column: Historical Values). When looking at the url ...
0
votes
1
answer
29
views
How to exclude div classes 'modal-content' and 'modal-body' from pyppeteer web scraper?
I'm building a scraper that gets text data from a list of articles. A common specimen in the text content I'm scraping at the minute is that at the bottom there is this message:
"As a subscriber, ...
0
votes
0
answers
23
views
How to keep ag grid filter after selecting all filtered?
I have an ag grid table that I am filtering, and upon a button click it is set to select all the rows that are currently filtered using selectAllFiltered(), and after clicking the button the filtered ...
0
votes
0
answers
10
views
PyQT5 WebEngineView no import of js files. Live Server with the same files works
The WebEngineView of pyQT5 does not import needed js modules. Here is a minimal example that runs normally in the Live Server of Visual Studio Code:
cube.html (works with Live Server, Demo from three....
0
votes
0
answers
36
views
How to send authentication session id to django backend using fetch api?
saveBtn.addEventListener('click', function() {
const csrftoken = getCookie('csrftoken');
fetch('http://localhost:8000/card/{{ auction.slug }}/add/', {
method: 'GET',
...
-1
votes
0
answers
24
views
How can I pass a ZIP file download from a backend Python app to a frontend React app?
I am currently designing a web app and part of it is supposed to download a ZIP file from an external API and pass it onto the end user. I've reviewed a ton of code surrounding how to download the ...
1
vote
0
answers
66
views
Trying to show shapefile in folium through javascript
I have a shapefile with postal codes in Belgium. In addition I have a distance-matrix from store-locations of one brand to all postal-codes. I managed to add markers to my map in PyQt5 QMainWindow ...
0
votes
0
answers
30
views
push reload or invoke javascript function from server
I have Django + React + uwsgi application.
Uwsgi access to the database.
Now I want to reload Django(React) web applicataion triggered by Database is changed.
For example
User open the web ...
0
votes
0
answers
40
views
Inconsistent IPC Buffer Serialization Between Python and JavaScript
I'm experiencing an issue with IPC buffer serialization in my C++ application. The buffer serialized in C++ is deserialized correctly in Python but fails in JavaScript with a metadata byte mismatch ...
-1
votes
0
answers
21
views
Need to call scrollIntoView() from brython
It does not seem to work.
self.scrollIntoView()
-> this is OK, element is on top and scroll is done
self.scrollIntoView(False)
-> same behaviour as previous, but should be displayed downwards
...
0
votes
1
answer
36
views
Extracting the text between span tags in a Javascript-rendered page using Selenium in Python
I am trying to scrape all instances of text between tags with a particular class on a web page that dynamically updates. I am using selenium with a chrome WebDriver in Python.
In a normal browser, ...
2
votes
3
answers
79
views
scraping table from web page
I'm trying to scrape a table from a webpage using Selenium and BeautifulSoup but I'm not sure how to get to the actual data using BeautifulSoup.
webpage: https://leetify.com/app/match-details/5c438e85-...
0
votes
0
answers
24
views
Extract all data inside g tag of JS chart using Selenium
I am currently trying to scrape a local web page, generated by my EV charger. I access it through it's IP address, which requires me to sign in.
After signing in, I want to retrieve the data from the ...
0
votes
0
answers
43
views
How to create another field in mongoDB document that filters the specified item from existing document array field
I am trying to filter items from a mongoDB document array field that are not equal to the provided value and create a new field with the filtered items using aggregation with $filter method but it is ...