You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my code. I am using a VPN, which is why I have set rejectUnauthorized to false. However, I am experiencing the same issue on my personal machine. Now, I am receiving an error in HTML format. This code was working earlier. Please help me out.
JavaScript is disabled in your browser.
Please enable JavaScript to proceed.
A required part of this site couldn’t load. This may be due to a browser
extension, network issues, or browser settings. Please check your
connection, disable any ad blockers, or try using a different browser.
<script>
function loadScript(src) {
return new Promise((resolve, reject) => {
const script = document.createElement('script');
script.onload = resolve;
script.onerror = (event) => {
console.error('Script load error event:', event);
document.getElementById('loading-error').style.display = 'block';
reject(
new Error(
`Failed to load script: ${src}, Please contact the service administrator.`
)
);
};
script.src = src;
document.body.appendChild(script);
});
}
shivangi4742
changed the title
Partial Serach on https://pypi.org/search/?o=&q={searchtext}&page=1
Partial Serach on https://pypi.org/search/?o=&q={searchtext}&page=1 not working - getting error
Jan 1, 2025
@woodruffw In my functionality, I need to search for packages using partial names. In the frontend, we allow users to search for a package, and then we call the appropriate API to retrieve a list of matching packages. However, the REST API provided by PyPI does not support partial searches. Therefore, I need to use the API at https://pypi.org/search/?o=&q=po&page=1 to achieve this.
This is my code. I am using a VPN, which is why I have set rejectUnauthorized to false. However, I am experiencing the same issue on my personal machine. Now, I am receiving an error in HTML format. This code was working earlier. Please help me out.
Response:
<style> #loading-error { font-size: 16px; font-family: 'Inter', sans-serif; margin-top: 10px; margin-left: 10px; display: none; } </style>The text was updated successfully, but these errors were encountered: