pylight-scrapper's People
Forkers
marekcichypylight-scrapper's Issues
Add arguments to the script to control output format
I'd like to run my script like this:
python scrapper.py --output-format=json/text
We can achieve this using sys.argv
or getopt
module.
Tutorial: https://www.tutorialspoint.com/python/python_command_line_arguments.htm
Better error handling
Currently, when we run our script without internet connection, it will break here: https://github.com/hidalgopl/pylight-scrapper/blob/master/scrapper.py#L6
We need to add try/except
block to catch connection error and print useful message for user.
Scrape talk details
Currently when I run a program I see only talk author & title:
Paweł Bojanowski
Web scraping - jak zdrapywać dane?
I would like to also see talk details.
Hint: We need to extract link to talk details page, send GET request to it and then parse the response.
Return response to user in JSON format
Currently, user gets unstructured text messages from script. Let's wrap it in nice JSON structure.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.