René's URL Explorer Experiment


Title: Does not work on OSX qsize(): not supported · Issue #16 · breenmachine/httpscreenshot · GitHub

Open Graph Title: Does not work on OSX qsize(): not supported · Issue #16 · breenmachine/httpscreenshot

X Title: Does not work on OSX qsize(): not supported · Issue #16 · breenmachine/httpscreenshot

Description: On OSX Queue.qsize() breaks for multiprocessor queues. There are two calls to this function in httpscreenshot. Locally I was able to get httpscreenshot to run on OSX by changing these to use the .empty() method, but this results in not g...

Open Graph Description: On OSX Queue.qsize() breaks for multiprocessor queues. There are two calls to this function in httpscreenshot. Locally I was able to get httpscreenshot to run on OSX by changing these to use the .e...

X Description: On OSX Queue.qsize() breaks for multiprocessor queues. There are two calls to this function in httpscreenshot. Locally I was able to get httpscreenshot to run on OSX by changing these to use the .e...

Opengraph URL: https://github.com/breenmachine/httpscreenshot/issues/16

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Does not work on OSX qsize(): not supported","articleBody":"On OSX Queue.qsize() breaks for multiprocessor queues.  There are two calls to this function in httpscreenshot.\n\nLocally I was able to get httpscreenshot to run on OSX by changing these to use the .empty() method, but this results in not getting any stdout feedback on how many items left in the queue... unless you hack some external global counter... but then you have to contend with thread-safe (and multi-processor safe) access to that... so I'm not sure its worth a pull request.  Hopefully someone will update the OSX libs to implement qsize(), but in the meantime if anyone wants to run this on OSX, here is what worked for me:\n\n```\n@@ -194,12 +194,12 @@ def worker(urlQueue, tout, debug, headless, doProfile, vhosts, subs, extraHosts,\n\n        while True:\n                #Try to get a URL from the Queue\n-               if urlQueue.qsize() \u003e 0:\n+               if not urlQueue.empty():\n                        try:                    \n                                curUrl = urlQueue.get(timeout=tout)\n                        except Queue.Empty:\n                                continue\n-                       print '[+] '+str(urlQueue.qsize())+' URLs remaining'\n+                       print '[+] more URLs remaining'\n                        screenshotName = quote(curUrl[0], safe='')\n                        if(debug):\n                                print '[+] Got URL: '+curUrl[0]\n```\n","author":{"url":"https://github.com/JGillam","@type":"Person","name":"JGillam"},"datePublished":"2015-11-01T13:18:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/16/httpscreenshot/issues/16"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:968f8890-343b-7187-98c9-caf4dfe9358a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAFEA:1E82C3:21E8AB1:2E60788:69735C7E
html-safe-noncecf56aad308edc8faefe647f44e7b9c5dd6fbe7aa4bfb275255acf4c33be2a450
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkVBOjFFODJDMzoyMUU4QUIxOjJFNjA3ODg6Njk3MzVDN0UiLCJ2aXNpdG9yX2lkIjoiMjA3Njc3NzIwNTE5NzkyMTQwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6c81ecc0bf88b98a29e703c24437e75aa978ef972f2bd14ba13e628f9c7ce42a
hovercard-subject-tagissue:114469117
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/breenmachine/httpscreenshot/16/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c44e535d7cb39ad04b3c477685004cd13acb7e03f97ec39d83def80a05002a40/breenmachine/httpscreenshot/issues/16
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c44e535d7cb39ad04b3c477685004cd13acb7e03f97ec39d83def80a05002a40/breenmachine/httpscreenshot/issues/16
og:image:altOn OSX Queue.qsize() breaks for multiprocessor queues. There are two calls to this function in httpscreenshot. Locally I was able to get httpscreenshot to run on OSX by changing these to use the .e...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJGillam
hostnamegithub.com
expected-hostnamegithub.com
None4cf879a11b0a28a85543899a36aaee9ec9ca2fb7bedad86c0da5731193c95f01
turbo-cache-controlno-preview
go-importgithub.com/breenmachine/httpscreenshot git https://github.com/breenmachine/httpscreenshot.git
octolytics-dimension-user_id6730611
octolytics-dimension-user_loginbreenmachine
octolytics-dimension-repository_id29396193
octolytics-dimension-repository_nwobreenmachine/httpscreenshot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id29396193
octolytics-dimension-repository_network_root_nwobreenmachine/httpscreenshot
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
releasefe8be790582ef7a55477ce1918ac0ed16b106d31
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/issues/16#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbreenmachine%2Fhttpscreenshot%2Fissues%2F16
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbreenmachine%2Fhttpscreenshot%2Fissues%2F16
Sign up https://patch-diff.githubusercontent.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=breenmachine%2Fhttpscreenshot
Reloadhttps://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/issues/16
Reloadhttps://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/issues/16
Reloadhttps://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/issues/16
breenmachine https://patch-diff.githubusercontent.com/breenmachine
httpscreenshothttps://patch-diff.githubusercontent.com/breenmachine/httpscreenshot
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fbreenmachine%2Fhttpscreenshot
Fork 175 https://patch-diff.githubusercontent.com/login?return_to=%2Fbreenmachine%2Fhttpscreenshot
Star 645 https://patch-diff.githubusercontent.com/login?return_to=%2Fbreenmachine%2Fhttpscreenshot
Code https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot
Issues 12 https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/issues
Pull requests 3 https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/pulls
Actions https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/actions
Projects 0 https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/projects
Wiki https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/wiki
Security 0 https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/security
Insights https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/pulse
Code https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot
Issues https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/issues
Pull requests https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/pulls
Actions https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/actions
Projects https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/projects
Wiki https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/wiki
Security https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/security
Insights https://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/breenmachine/httpscreenshot/issues/16
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/breenmachine/httpscreenshot/issues/16
Does not work on OSX qsize(): not supportedhttps://patch-diff.githubusercontent.com/breenmachine/httpscreenshot/issues/16#top
https://github.com/JGillam
https://github.com/JGillam
JGillamhttps://github.com/JGillam
on Nov 1, 2015https://github.com/breenmachine/httpscreenshot/issues/16#issue-114469117
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

Viewport: width=device-width


URLs of crawlers that visited me.