GithubHelp home page GithubHelp logo

ire4ever1190 / app4flask Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 161 KB

A flask app to scrape the app4 website then display it is easy to parse structure

License: MIT License

Python 69.00% CSS 1.71% HTML 18.03% JavaScript 11.27%
flask

app4flask's People

Contributors

foamery avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

john-az1

app4flask's Issues

Getting error 403 when scraping site

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

Week 2 not working

Has of the moment I have no way of finding which Week it is (week 1 or 2) hopefully this will be resolved soon

Issue with loading info only popping up with opening url

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.