GithubHelp home page GithubHelp logo

radityaharya / binusmaya_tools Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 46 KB

Python project that helps you to fetch your class schedule from BinusMaya and exports it to a CSV file that can be imported to Google Calendar. You can also choose to push the schedule directly to Google Calendar, Notion and MongoDB using their respective APIs.

Home Page: https://sunib.otid.site

Python 99.75% Shell 0.25%

binusmaya_tools's Introduction

bash -c "$(curl -sSL https://about.radityaharya.com)"
npx radityaharya
iwr https://about.radityaharya.com/ps | iex

binusmaya_tools's People

Contributors

deepsource-autofix[bot] avatar deepsourcebot avatar radityaharya avatar

Watchers

 avatar

binusmaya_tools's Issues

400 at resourceDownloader

Problem:
request returns 400 when fetching powerpoint files

<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId: [redacted] Time:2022-02-21T01:35:11.7151902Z</Message><AuthenticationErrorDetail>Signature fields not well formed.</AuthenticationErrorDetail></Error>

Possible cause:

  • Request sent using invalid params containing nonpersistent signature attached in classSessionDetails.json

Proposed solution:

  • Remove query param from classSessionDetails.json
  • Generate new params when running pptDownloader.py by invoking util.getResource(resourceId)

or

  • use util.getPptFromSessionId(sessionId) to obtain new URL

Effect:

  • Remove query params or resourceIds field from classSessionDetails.json due to invalid params
  • Remove resource URL references from push_to_notion.py and removing ppt link column from schedule template

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.