Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何处理“上海”数据 #3

Open
linpingta opened this issue Dec 18, 2023 · 0 comments
Open

如何处理“上海”数据 #3

linpingta opened this issue Dec 18, 2023 · 0 comments

Comments

@linpingta
Copy link
Owner

上海原始页面里没有“二手房源共计....”一项,因此代码里需要去除

    house_num = re.findall('共找到<span> (.*?) </span>套.*二手房', html)[0].strip()

同时在使用时人为指定house_num

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

No branches or pull requests

1 participant