Skip to content

Simple parser I've written to practice in async 3.5 Python code. This can be used for simple tasks like downloading a specific set of images, or a static html website.

License

Notifications You must be signed in to change notification settings

delneg/Simple-asyncio-Python-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Simple-asyncio-Python-parser

Simple parser I've written to practice in async 3.5 Python code. This can be used for simple tasks like downloading a specific set of images, or a static html website. #Requirements Python 3.5

aiohttp 0.21.2

beautifulsoup4 4.4.1

#Examples In the code are:

  • most popular user-agents to bypass some simple filtering, with usage like
aiohttp.get(url, headers=user_agent())
  • page count find example with BeautifulSoup4
  • link extracting from a page with BS4
  • Binary file saving
  • Random string generator
  • Async page loading
  • List of links async page loading The code is fully functional right after downloading, all functions are commented, the hardest thing to understand in the code is list comprehension.

If my code helped you, I'm pleased :)

About

Simple parser I've written to practice in async 3.5 Python code. This can be used for simple tasks like downloading a specific set of images, or a static html website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages