sugarlabs / browse-activity

Sugar activity to browse the internet; WebKit on GTK on Sugar Toolkit
GNU General Public License v2.0
8 stars 44 forks source link

Fixes #114

Closed shaansubbaiah closed 4 years ago

shaansubbaiah commented 4 years ago

Fixes the HTTP 403 Error due to websites blocking requests with the urllib user-agent. Uses the Browse/WebKit2 user-agent.

Also sets the Sugar version in the user-agent to the latest release, and uses 114 as the fallback, in case the SUGAR_VERSION env variable is missing.

shaansubbaiah commented 4 years ago

@quozl @chimosky @srevinsaju kindly review.