René's URL Explorer Experiment


Title: Alwasy get urllib2.HTTPError: HTTP Error 403: Forbidden · Issue #35 · ox-it/python-sharepoint · GitHub

Open Graph Title: Alwasy get urllib2.HTTPError: HTTP Error 403: Forbidden · Issue #35 · ox-it/python-sharepoint

X Title: Alwasy get urllib2.HTTPError: HTTP Error 403: Forbidden · Issue #35 · ox-it/python-sharepoint

Description: Hi. This is how I use the code. And I always get the 403 error. In the web browser, I always use the email account to login. I don't know the username here is the Email address I used to login the www.office.com website? The username I u...

Open Graph Description: Hi. This is how I use the code. And I always get the 403 error. In the web browser, I always use the email account to login. I don't know the username here is the Email address I used to login the ...

X Description: Hi. This is how I use the code. And I always get the 403 error. In the web browser, I always use the email account to login. I don't know the username here is the Email address I used to login ...

Opengraph URL: https://github.com/ox-it/python-sharepoint/issues/35

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Alwasy get urllib2.HTTPError: HTTP Error 403: Forbidden","articleBody":"Hi. This is how I use the code. And I always get the 403 error. In the web browser, I always use the email account to login. I don't know the username here is the Email address I used to login the www.office.com website? The username I used is ``xxx@pku.edu.cn``. Is this right? Or I should use some translated names like ``pku_edu_cn\\\\xxx``?\r\n\r\n\r\n```python\r\nfrom sharepoint import SharePointSite, basic_auth_opener\r\n\r\nserver_url = \"https://pkueducn-my.sharepoint.com/\"\r\nsite_url = server_url + \"personal/xxx_pku_edu_cn\"\r\n\r\nopener = basic_auth_opener(server_url, \"xxx@pku.edu.cn\", \"my_password\")\r\n\r\nsite = SharePointSite(site_url, opener)\r\n\r\nfor sp_list in site.lists:\r\n    print sp_list.id, sp_list.meta['Title']\r\n```\r\n\r\nMy error:\r\n```\r\nC:\\Python27\\python.exe J:/github_repos/xxx/sp.py\r\nTraceback (most recent call last):\r\n  File \"J:/github_repos/xxx/sp.py\", line 17, in \u003cmodule>\r\n    for sp_list in site.lists:\r\n  File \"C:\\Python27\\lib\\site-packages\\sharepoint\\lists\\__init__.py\", line 80, in __iter__\r\n    return iter(self.all_lists)\r\n  File \"C:\\Python27\\lib\\site-packages\\sharepoint\\lists\\__init__.py\", line 36, in all_lists\r\n    result = self.opener.post_soap(LIST_WEBSERVICE, xml)\r\n  File \"C:\\Python27\\lib\\site-packages\\sharepoint\\site.py\", line 32, in post_soap\r\n    response = self.opener.open(request, timeout=self.timeout)\r\n  File \"C:\\Python27\\lib\\urllib2.py\", line 435, in open\r\n    response = meth(req, response)\r\n  File \"C:\\Python27\\lib\\urllib2.py\", line 548, in http_response\r\n    'http', request, response, code, msg, hdrs)\r\n  File \"C:\\Python27\\lib\\urllib2.py\", line 473, in error\r\n    return self._call_chain(*args)\r\n  File \"C:\\Python27\\lib\\urllib2.py\", line 407, in _call_chain\r\n    result = func(*args)\r\n  File \"C:\\Python27\\lib\\urllib2.py\", line 556, in http_error_default\r\n    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)\r\nurllib2.HTTPError: HTTP Error 403: Forbidden\r\n\r\nProcess finished with exit code 1\r\n\r\n```","author":{"url":"https://github.com/hsluoyz","@type":"Person","name":"hsluoyz"},"datePublished":"2018-01-24T13:20:46Z","url":"https://github.com/ox-it/python-sharepoint/issues/35"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:48464078-a49b-f4a0-cf62-197e3ef22c8c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8C66:2A6CBA:273BF:33669:6B093463
html-safe-nonce2ba5b768288a5ae71effd5370526cbbe424e8d8cc2534b578ea0024af4e30af6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzY2OjJBNkNCQToyNzNCRjozMzY2OTo2QjA5MzQ2MyIsInZpc2l0b3JfaWQiOiI3NDM3ODQ3NjU3MTY5MTA2MDE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5ba8cf884908a676b69fd51f2c8fb61828e18c85809ecaf9e98a8f9b27b01ead
hovercard-subject-tagissue:291206106
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ox-it/python-sharepoint/35/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0934dda0b06f99fbd2592a0389a5a9a0aad8855210318f12afb2b3aae447ebe5/ox-it/python-sharepoint/issues/35
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0934dda0b06f99fbd2592a0389a5a9a0aad8855210318f12afb2b3aae447ebe5/ox-it/python-sharepoint/issues/35
og:image:altHi. This is how I use the code. And I always get the 403 error. In the web browser, I always use the email account to login. I don't know the username here is the Email address I used to login the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehsluoyz
hostnamegithub.com
expected-hostnamegithub.com
Noneda7e7304a38b6bc6a1ec0a7970f219ae1c71491302599b3c42088762d8889d94
turbo-cache-controlno-preview
go-importgithub.com/ox-it/python-sharepoint git https://github.com/ox-it/python-sharepoint.git
octolytics-dimension-user_id351950
octolytics-dimension-user_loginox-it
octolytics-dimension-repository_id6655089
octolytics-dimension-repository_nwoox-it/python-sharepoint
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id6655089
octolytics-dimension-repository_network_root_nwoox-it/python-sharepoint
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3cb927d1757a02e619a0eb62b036233d6d9cdc4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/ox-it/python-sharepoint/issues/35#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fox-it%2Fpython-sharepoint%2Fissues%2F35
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fox-it%2Fpython-sharepoint%2Fissues%2F35
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ox-it%2Fpython-sharepoint
Reloadhttps://github.com/ox-it/python-sharepoint/issues/35
Reloadhttps://github.com/ox-it/python-sharepoint/issues/35
Reloadhttps://github.com/ox-it/python-sharepoint/issues/35
ox-ithttps://github.com/ox-it
python-sharepointhttps://github.com/ox-it/python-sharepoint
Codehttps://github.com/ox-it/python-sharepoint
Issues21 (21)https://github.com/ox-it/python-sharepoint/issues
Pull requests12 (12)https://github.com/ox-it/python-sharepoint/pulls
Actionshttps://github.com/ox-it/python-sharepoint/actions
Projectshttps://github.com/ox-it/python-sharepoint/projects
Wikihttps://github.com/ox-it/python-sharepoint/wiki
Security and qualityhttps://github.com/ox-it/python-sharepoint/security
Insightshttps://github.com/ox-it/python-sharepoint/insights
https://github.com/ox-it/python-sharepoint
New issuehttps://github.com/login?return_to=https://github.com/ox-it/python-sharepoint/issues/35
New issuehttps://github.com/login?return_to=https://github.com/ox-it/python-sharepoint/issues/35
Alwasy get urllib2.HTTPError: HTTP Error 403: Forbiddenhttps://github.com/ox-it/python-sharepoint/issues/35#top
https://github.com/hsluoyz
hsluoyzhttps://github.com/hsluoyz
on Jan 24, 2018https://github.com/ox-it/python-sharepoint/issues/35#issue-291206106
www.office.comhttp://www.office.com
https://github.com/esamtian
esamtianhttps://github.com/esamtian
on Apr 10, 2018https://github.com/ox-it/python-sharepoint/issues/35#issuecomment-379972151
https://github.com/rj-linjia
rj-linjiahttps://github.com/rj-linjia
on Apr 10, 2018https://github.com/ox-it/python-sharepoint/issues/35#issuecomment-380066652
https://github.com/DuiduiLi
DuiduiLihttps://github.com/DuiduiLi
on Sep 14, 2018https://github.com/ox-it/python-sharepoint/issues/35#issuecomment-421216621
https://docs.microsoft.com/zh-cn/azure/active-directory/user-help/multi-factor-authentication-end-user-app-passwordshttps://docs.microsoft.com/zh-cn/azure/active-directory/user-help/multi-factor-authentication-end-user-app-passwords
Sign up for freehttps://github.com/signup?return_to=https://github.com/ox-it/python-sharepoint/issues/35
Sign in to commenthttps://github.com/login?return_to=https://github.com/ox-it/python-sharepoint/issues/35
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.