Why are jobTitles and links always longer than companyName and jobLocation?

Every time I run my code the lengths of the lists are different than the last time. And every time jobTitles and links are longer than companyName and jobLocation. I’m not sure how to fix this. All of the lists should be the same length. I’m just not sure what is happening that they are alwasy different lengths, not always by the same amount either.

import hrequests
from bs4 import BeautifulSoup
import pandas as pd
import csv

####################
## INDEED SCRAPER ##
####################

# Creates the CSV in Write Mode
with open('Indeed_Jobs.csv', 'w', newline='') as file:
    writer = csv.writer(file)

#Creating Lists for info
jobTitles = []
companyName = []
jobLocation = []
links = []

#Creates list of URLs
URLs = ["https://www.indeed.com/jobs?q=IT+Entry+Level&l=United+States&from=searchOnHP&vjk=55e3c7e5e7a919c9", 
        "https://www.indeed.com/jobs?q=development+entry+level&l=United+States&from=searchOnDesktopSerp&vjk=996b270bd119f225",
        "https://www.indeed.com/jobs?q=user+experience+entry+level&l=United+States&from=searchOnDesktopSerp&vjk=4fc6a443fd7c11df",
        "https://www.indeed.com/jobs?q=ux%2Fui+experience+entry+level&l=United+States&from=searchOnDesktopSerp&vjk=254dcd8c33926527",
        "https://www.indeed.com/jobs?q=data+entry+level&l=United+States&from=searchOnDesktopSerp&vjk=bd4fd45f0feb91c2"]

for url in URLs:

    #Connecting to Indeed and reading HTML
    target_url = url
    head= {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36",
        "Accept-Encoding": "gzip, deflate, br",
        "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
        "Connection": "keep-alive",
        "Accept-Language": "en-US,en;q=0.9,lt;q=0.8,et;q=0.7,de;q=0.6",
    }
    resp = hrequests.get(target_url, headers=head)
    soup = BeautifulSoup(resp.text, 'html.parser')

    #Finds all items in list
    for div in soup.find_all('div', {'class': 'css-dekpa e37uo190'}):
        #Pulls job title
        for span in div.find_all('span'):
            jobTitles.append(span.text.strip())
        #Pulls link to job
        for a in div.find_all('a'):
            links.append("indeed.com" + a.get('href'))
        #Pulls company name
    for div in soup.find_all('div', {'class': 'company_location css-17fky0v e37uo190'}):
        for span in div.find_all('span',{'data-testid': 'company-name'}):
            companyName.append(span.text.strip())
        #Pulls job location
        for divLocation in div.find_all('div', {'data-testid': 'text-location'}):
            jobLocation.append(divLocation.text.strip())


    # Changing the heading on the CSV depending on which URL was searched
    if url == "https://www.indeed.com/jobs?q=development+entry+level&l=United+States&from=searchOnDesktopSerp&vjk=996b270bd119f225":
        additional_row = ["Development - Entry Level"]
    elif url =="https://www.indeed.com/jobs?q=it+entry+level&l=United+States&from=searchOnHP&vjk=bf9a1055e66b240c":
        additional_row = ["IT - Entry Level"]
    elif url == "https://www.indeed.com/jobs?q=user+experience+entry+level&l=United+States&from=searchOnDesktopSerp&vjk=4fc6a443fd7c11df":
        additional_row = ["User Experience - Entry Level"]
    elif url == "https://www.indeed.com/jobs?q=ux%2Fui+experience+entry+level&l=United+States&from=searchOnDesktopSerp&vjk=254dcd8c33926527":
        additional_row = ["UX/UI - Entry Level"]
    elif url == "https://www.indeed.com/jobs?q=data+entry+level&l=United+States&from=searchOnDesktopSerp&vjk=bd4fd45f0feb91c2":
        additional_row = ["Data - Entry Level"]
    else:
        additional_row = ["Title Not Found"]

    # Blank Row to make formatting nice
    blank_row = ['']



print(len(jobTitles))
print(len(companyName))
print(len(jobLocation))
print(len(links))

#
#   # Open the CSV file in append mode
#    with open('Indeed_Jobs.csv', 'a', newline='') as file:
#        writer = csv.writer(file)
#        # Write the header and blank rows for formatting
#        writer.writerow(blank_row)
#        writer.writerow(additional_row)
#        writer.writerow(blank_row)
#
#        # Write jobs to the CSV
#        df = pd.DataFrame({'Job Title': jobTitles, 'Company Name': companyName, 'Location': jobLocation, 'Link': links})
#        df.to_csv(file, mode='a', header=True, index=False)

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật