使用beautifulsoup4的疤痕数据

时间:2017-10-08 20:17:55

标签: python html beautifulsoup python-requests

我只是在这里寻找一些有关此代码的帮助。 首先,我是抓取数据的新手,我想使用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&amp;id=_65254_1&amp;url=" target="_top">1430101_10777_FALL2017-2018: Astro &amp; Space Sciences </a>
                <div class="courseInformation">
                    <span class="courseRole">
                    Instructor:
                    </span>
                    <span class="name">here is the name that i want to get it;&nbsp;&nbsp;</span>
            </div>
        </li>
        <li>
            <img alt="" src="/images/ci/icons/bookopen_li.gif" width="12" height="12">
            <a href=" /launcher?type=Course&amp;id=_65816_1&amp;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 ;&nbsp;&nbsp;</span>
                </div>
            </li>
    </ul>

0 个答案:

没有答案
相关问题