Whilst it's still possible to get a credit card if you're unemployed, you may find that your options are limited and you may face higher interest rates and lower credit limits. Usually, a lender will look at your past borrowing history, as well as other factors, such as your individual circumstances when deciding whether to lend to you.
It's always recommended that you consider whether a credit card is the right financial decision for you and your situation before you apply.