Tôi đang cố gắng cạo một trang web và nhận tất cả các yếu tố div
trong HTML.Trang web tôi đang cố gắng truy cập là một trang chứa các cơ hội việc làm trong đó mỗi công việc nằm trong một div
riêng biệt.Tôi đang cố gắng để có được tất cả chúng để tôi có thể chạy chúng thông qua một vòng lặp for
và trích xuất dữ liệu của chúng cho mỗi lần riêng biệt.
Tôi chưa mã hóa nó.
Có một phương pháp hoặc cách nào để có được chúng?Và tôi cũng chỉ muốn trích xuất các div
có chứa công việc.And also I only want to extract the div
s that contain
jobs.
HTML ngoài
Planner II
- new
Vantage Utility Services
- Upland, CA
Transportation or giving away of up to 28.5 grams of marijuana, other than concentrated cannabis, or the offering to transport or give away up to 28.5 grams of...
4 hours ago - save job - more...if [!window['result_1d1829a543b1f3a7']] {window['result_1d1829a543b1f3a7'] = {};}window['result_1d1829a543b1f3a7']['showSource'] = false; window['result_1d1829a543b1f3a7']['source'] = "Vantage Utility Services"; window['result_1d1829a543b1f3a7']['loggedIn'] = false; window['result_1d1829a543b1f3a7']['showMyJobsLinks'] = false;window['result_1d1829a543b1f3a7']['undoAction'] = "unsave";window['result_1d1829a543b1f3a7']['relativeJobAge'] = "4 hours ago";window['result_1d1829a543b1f3a7']['jobKey'] = "1d1829a543b1f3a7"; window['result_1d1829a543b1f3a7']['myIndeedAvailable'] = true; window['result_1d1829a543b1f3a7']['showMoreActionsLink'] = window['result_1d1829a543b1f3a7']['showMoreActionsLink'] || true; window['result_1d1829a543b1f3a7']['resultNumber'] = 1; window['result_1d1829a543b1f3a7']['jobStateChangedToSaved'] = false; window['result_1d1829a543b1f3a7']['searchState'] = "q=Cannabis&fromage=last"; window['result_1d1829a543b1f3a7']['basicPermaLink'] = "//www.indeed.com"; window['result_1d1829a543b1f3a7']['saveJobFailed'] = false; window['result_1d1829a543b1f3a7']['removeJobFailed'] = false; window['result_1d1829a543b1f3a7']['requestPending'] = false; window['result_1d1829a543b1f3a7']['notesEnabled'] = true; window['result_1d1829a543b1f3a7']['currentPage'] = "serp"; window['result_1d1829a543b1f3a7']['sponsored'] = false;window['result_1d1829a543b1f3a7']['reportJobButtonEnabled'] = false; window['result_1d1829a543b1f3a7']['showMyJobsHired'] = false; window['result_1d1829a543b1f3a7']['showSaveForSponsored'] = false; window['result_1d1829a543b1f3a7']['showJobAge'] = true;
- View all Vantage Utility Services jobs in Upland, CA - Upland jobs
- Salary Search: Planner salaries in Upland, CA
- Learn more about working at Vantage Utility Services
- Related forums: Upland, California - Planner - VANTAGE UTILITY SERVICES