Getting "just a moment"
See original GitHub issueI can’t make it work. I’m just getting redirect, this is my code:
scraper = cfscrape.create_scraper() # returns a CloudflareScraper instance
headers = {'referer': 'http://seriesblanco.com/'}
just_loggin = scraper.get(form.getvalue('url'))
print scraper.get(form.getvalue('url') , headers=headers).content # => "<!DOCTYPE html><html><head>..."
Is something wrong with it?, thanks in advance.
Getting the page:
Checking your browser before accessing seriesblanco.com.
This process is automatic. Your browser will redirect to your requested content shortly. Please allow up to 5 seconds… DDoS protection by CloudFlare Ray ID: 2e04c766319425b5
And then:
The requested URL /cdn-cgi/l/chk_jschl was not found on this server. on my server.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10
Top Results From Across the Web
Windows 10 stuck on Just a Moment, can't do anything else
If the laptop is stuck on the ' Just a Moment' screen, unplug any USB devices, especially a wireless mouse or keyboard. Press...
Read more >How to Fix Windows 10 Just a Moment Screen Issue [Easy ...
The main purpose of the Just a Moment screen is that the system is performing some changes, and it should put you back...
Read more >Windows 10 Just a Moment Stuck? Use These Solutions to Fix It
If Your Computer Is Not Responding · Disable network devices, turn off Wi-Fi and unplug network cable if there is any. · Remove...
Read more >Windows 10 Stuck On Just A Moment - ComputerGarage
If your machine is stuck on “Just a Moment” screen you can try to remove externally connected devices like USB devices, wireless mouse...
Read more >How To Fix Windows 10 Stuck On Just A Moment Loop
Start Windows in Safe Mode. · Press Win key + R to open the Run window. · Type sysdm.cpl and press OK to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Twoure I did a git clone of cloudflare-scrape master and now works, thanks mate 😃.
@platedodev Looks like you tried to combine Example 1 & 3, but left out some parts. Assuming you wanted Example 3, the code should look as follows:
Make sure to include the headers for each call after scraping for the cookies. Otherwise use a session and let
cfscrape
handle the cookies internally.