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

not working for a big xml file #4

Open
Euphorbium opened this issue Sep 28, 2018 · 0 comments
Open

not working for a big xml file #4

Euphorbium opened this issue Sep 28, 2018 · 0 comments

Comments

@Euphorbium
Copy link

try to scrape https://www.redbubble.com/sitemap/works-00001.xml and get the links

Python 3.6.4 (default, Sep 28 2018, 21:53:06) 
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from requests_xml import XMLSession
>>> session = XMLSession()
>>> sitemap = session.get("https://www.redbubble.com/sitemap/works-00001.xml")
>>> sitemap.xml.links
[]
>>> sitemap.xml.xpath('//url')
[]
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