skip to Main Content

CSS not displaying on html

Today I wanted to start a new project but when i finished my asset-loader and everything and did the first request something very strange happend. My css file is displayed as an "imported" css file in the chrome devtool sources-tab…

VIEW QUESTION

Python/Flask app in docker compose – package missing error

Here is the Dockerfile FROM python:3.11 WORKDIR /usr/src/app COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY src/ . EXPOSE ${SERVER_PORT} ENV FLASK_APP=application/app.py ENV FLASK_ENV=development CMD ["flask", "run", "--host=0.0.0.0"] docker-compose.yml version: '3.8' services: mysql: container_name: mysql image: mysql:latest restart:…

VIEW QUESTION

Html – I keep getting a internal server error for my flask app for a web scraper

from flask import Flask, render_template from bs4 import BeautifulSoup import requests import pandas as pd app = Flask(__name__) @app.route("/") def job_scraper(): url01 = "https://www.linkedin.com/jobs/search?keywords=Python%20%28Programming%20Language%29&location=Las%20Vegas%2C%20Nevada%2C%20United%20States&geoId=100293800&currentJobId=3477751834&position=7&pageNum=1" url_request_01 = requests.get(url01) soup = BeautifulSoup(url_request_01.text, 'html.parser') job_title_pull = soup.find_all(class_="base-search-card__title") job_subtitle_pull = soup.find_all(class_="base-search-card__subtitle") job_location_pull = soup.find_all(class_="job-search-card__location")…

VIEW QUESTION
Back To Top
Search