ire4ever1190 / app4flask Goto Github PK
View Code? Open in Web Editor NEWA flask app to scrape the app4 website then display it is easy to parse structure
License: MIT License
A flask app to scrape the app4 website then display it is easy to parse structure
License: MIT License
getting this error when scraping app4 website
httperror_seek_wrapper: HTTP Error 403: request disallowed by robots.txt
think it might be issue with the app4 website
Mechanize only works in python 2
Has of the moment I have no way of finding which Week it is (week 1 or 2) hopefully this will be resolved soon
when going the the url for /list I get this error
Traceback (most recent call last):
File "D:\Software\Python 3\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "D:\Software\Python 3\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "D:\Software\Python 3\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "D:\Software\Python 3\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "D:\Software\Python 3\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "D:\Software\Python 3\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "D:/Projects/app4flaskbackend/app4flask.py", line 132, in show_info
classes.append("<class>" + str(get(today, i, studentnum)) + "</class>")
File "D:/Projects/app4flaskbackend/app4flask.py", line 121, in get
parse = jsonstr["class"]
TypeError: 'NoneType' object is not subscriptable
but when I run
show_info(*with args)
In the script instead of
app.run()
The error doesn't pop up
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.