我只是在这里寻找一些有关此代码的帮助。 首先,我是抓取数据的新手,我想使用request和beautifulsoup4从我的uni网站上删除一些数据。 我试图抓取这些数据,但我对这里的所有元素感到困惑。有什么建议?
Dexie.delete('db').then(()=>db.open())
<div id="_27_1termCourses__8_1" style="">
<h4 class="u_indent" id="anonymous_element_13">Courses where you are: Student</h4>
<ul class="portletList-img courseListing coursefakeclass u_indent">
<li>
<img alt="" src="/images/ci/icons/bookopen_li.gif" width="12" height="12">
<a href=" /launcher?type=Course&id=_65254_1&url=" target="_top">1430101_10777_FALL2017-2018: Astro & Space Sciences </a>
<div class="courseInformation">
<span class="courseRole">
Instructor:
</span>
<span class="name">here is the name that i want to get it; </span>
</div>
</li>
<li>
<img alt="" src="/images/ci/icons/bookopen_li.gif" width="12" height="12">
<a href=" /launcher?type=Course&id=_65816_1&url=" target="_top">0403201_12360_FALL2017-2018: Digital Logic Design </a>
<div class="courseInformation">
<span class="courseRole">
Instructor:
</span>
<span class="name">here is the name that i want to get it ; </span>
</div>
</li>
</ul>