Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

change the way to parse title #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

change the way to parse title #74

wants to merge 1 commit into from

Conversation

fwuzju
Copy link

@fwuzju fwuzju commented Oct 18, 2013

youku 的HTML中包含了

    div class="guide">
        <div class="crumbs">
            <a href="http://tv.youku.com/" target="_blank">电视剧</a>
            <span class="arrow"> &gt; </span>
                            <a href="http://www.youku.com/v_olist/c_97_a_%E7%BE%8E%E5%9B%BD.html" target="_blank">美国</a><span class="arrow"> &gt; </span>                                <a href="http://www.youku.com/v_olist/c_97_g_%E5%89%A7%E6%83%85.html" target="_blank">剧情</a>/<a href="http://www.youku.com/v_olist/c_97_g_%E7%A7%91%E5%B9%BB.html" target="_blank">科幻</a>/<a href="http://www.youku.com/v_olist/c_97_g_%E6%82%AC%E7%96%91.html" target="_blank">悬疑</a>         </div>
    </div>
    <h1 class="title"><a charset="hz-4006554-1000595" href="http://www.youku.com/show_page/id_z3862ad4cbc5c11e2b2ac.html" target="_blank" title="沉睡谷">沉睡谷</a>:<span id="subtitle">第1集</span></h1>

从这里获取title 更准确一些

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant