-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
佈署問題 #5
Comments
你好,看起來你佈署是失敗的或是啟動時有問題, |
感謝您的回覆 |
咦? 你佈署沒按照我的步驟嘛? 這個不是在 requirements.txt 裡面了? |
我看你的視頻~只有安裝了下面幾個 |
如果你沒有用到 BeautifulSoup,也沒有安裝 BeautifulSoup,要把 from bs4 import BeautifulSoup 拿掉 我有用到 BeautifulSoup ,所以我有放在 requirements.txt 裡面 |
感謝您 |
😄 |
萬分感謝 |
想請問API_Get_Image這個變數應該設定成甚麼,有推薦的嗎? |
這個 API_Get_Image 是我自己寫的爬蟲,api 我沒有公開,因為我怕 server 炸掉。 但我有把程式碼放出來,可以參考我之前寫的文章 |
@Sn0wl3r0ker api 放什麼? 你是指 API_Get_Image 這個嗎? |
對 爬蟲跟顯示的我都部署上去了 但是不知道API_Get_Image到底該放什麼..有試著直接放url http://xxxx.herokuapp.com/api/image/?format=json 這樣類似的 但是都會報錯 |
@Sn0wl3r0ker hi~ 可能是我說的不夠清楚,如果你建立起來了,api code 在 here。 url 應該是 http://xxxx.herokuapp.com/api/image/random/ 這樣才對,如果你不喜歡你可以再改, |
了解了~感謝回覆 順便恭喜你面試上 看你文章跟youtube影片真的獲益良多 +U : ) |
@Sn0wl3r0ker 面試過後,發現還是很多要學,太弱了QAQ |
我照著步驟完成到佈署
得到對應的URL為
https://morning-thicket-44028.herokuapp.com/callback
卻得到下面的訊息
A http status of the response was '503 Service Unavailable'.
不知道該如何解決
The text was updated successfully, but these errors were encountered: