> For the complete documentation index, see [llms.txt](https://moluo.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://moluo.gitbook.io/notes/bian-cheng-xue-xi/python/python3-ji-chu/13-yuan-sheng-pa-chong.md).

# 13原生爬虫

```python
from urllib import request

class Spider():
    url=''

    def __fetch_content(self):
        r=request.urlopen(Spider.url)
        htmls=r.read()


    def __analysis(self,htmls):
        pass

    def__refine(self,anchors):


    def _sort(self):
        pass

    def __show(self,anchors):
        pass



    def go(self):
        htmls=self.__fetch_content()
        self.__analysis(htmls)
```
