최근 검색
최근 검색 없음

Romit Bhandari
가입한 날짜: 2024년 5월 28일
·
마지막 활동: 2024년 5월 28일
팔로잉
0
팔로워
0
총 활동 수
1
투표 수
0
플랜 수
0
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Romit Bhandari
Romit Bhandari님이 에 게시물을 만듦
When I try following python code to fetch content from a url hosted in Zendesk, i get following 403 Forbidden Error:
Python Code:
html_content = fetch_content(url)
if html_content:
text_content = html_to_text(html_content.decode('utf-8'))
output_pdf_file = os.path.join('output', 'output.pdf') # Output directory and file name
if not os.path.exists('output'):
os.makedirs('output')
save_text_to_pdf(text_content, output_pdf_file)
print(f'PDF saved to {output_pdf_file}')
Error:
Error fetching https://support.qs.com/hc/en-gb/articles/13248576515484-2024-QS-World-University-Rankings-Online-MBA-Badges: HTTP Error 403: Forbidden
Can someone help here..
2024년 5월 28일에 게시됨 · Romit Bhandari
0
팔로워
1
투표
1
댓글