halimbahae commited on
Commit
77c2b62
·
verified ·
1 Parent(s): 370103a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -30,16 +30,6 @@ def ats_friendly_checker(file):
30
  feedback = response
31
  return feedback
32
 
33
- # def scrape_job_description(url):
34
- # try:
35
- # response = requests.get(url)
36
- # response.raise_for_status()
37
- # soup = BeautifulSoup(response.text, 'html.parser')
38
- # job_description = soup.get_text(separator=" ", strip=True)
39
- # return job_description
40
- # except requests.exceptions.RequestException as e:
41
- # return f"Error accessing job description: {e}"
42
-
43
  def scrape_job_description(url):
44
  try:
45
  headers = {
@@ -55,8 +45,6 @@ def scrape_job_description(url):
55
  except Exception as e:
56
  return f"An unexpected error occurred: {e}"
57
 
58
-
59
-
60
  def resume_match_checker(file, job_url):
61
  resume_text = extract_text_from_pdf(file)
62
  job_description = scrape_job_description(job_url)
 
30
  feedback = response
31
  return feedback
32
 
 
 
 
 
 
 
 
 
 
 
33
  def scrape_job_description(url):
34
  try:
35
  headers = {
 
45
  except Exception as e:
46
  return f"An unexpected error occurred: {e}"
47
 
 
 
48
  def resume_match_checker(file, job_url):
49
  resume_text = extract_text_from_pdf(file)
50
  job_description = scrape_job_description(job_url)