M
M
Mist82015-03-10 17:42:51
Python
Mist8, 2015-03-10 17:42:51

How to search for projects using a specific module?

Following the advice "read more other people's code", I want to find projects that could be studied.
Writing in Python
I'm currently working on a small program that will parse a single site, modify the text a bit, and use that information to create a page on my site.
I googled and found a parsing module - Grab. Simple examples of how to parse a page - I get it. Understanding how to work with a dom tree is already more difficult. I would like to see a ready-made example to understand. I am sure that such examples should be the sea. But how to find them? There are not enough manuals - I'm trying to step aside a little and questions (how does this function work? How does the lxml associated with Grabom work? How are regular expressions arranged?) - grow like a snowball.
The constant feeling that I'm trying to swallow too much.
How can I find (on github, souceforge, etc.) projects that use the Grab module (or lxml or some other parsers/grabbers)? It's stupid to hit the Grab search - it doesn't help, it searches in the names. Is it possible to search for the mention/use of a specific module within the project and how?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
U
un1t, 2015-03-10
@Mist8

Looking for the github code, click on the Code tab
https://github.com/search?utf8=%E2%9C%93&q=%22impo...

D
devel787, 2015-03-12
@devel787

I would like to see a ready-made example to understand.

Maybe
Web Scraping With Scrapy and MongoDB can help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question